Fixed up testing etc
This commit is contained in:
14
tests/test_simpleFunctionTest.krak
Normal file
14
tests/test_simpleFunctionTest.krak
Normal file
@@ -0,0 +1,14 @@
|
||||
import io:*;
|
||||
|
||||
|int| addAndPrintInt(|int| a, |int| b) {
|
||||
print(a+b);
|
||||
return a+b;
|
||||
}
|
||||
|
||||
|int| main() {
|
||||
|
||||
print(addAndPrintInt(7,12));
|
||||
print("\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user