Merge branch 'master' of https://github.com/Limvot/kraken
Added Christopher Fadden as contributor
This commit is contained in:
2
tests/test_else.expected_results
Normal file
2
tests/test_else.expected_results
Normal file
@@ -0,0 +1,2 @@
|
||||
Right
|
||||
Right
|
||||
16
tests/test_else.krak
Normal file
16
tests/test_else.krak
Normal file
@@ -0,0 +1,16 @@
|
||||
import io:*;
|
||||
|
||||
|
||||
|int| main() {
|
||||
if (1>2) {
|
||||
println("Wrong");
|
||||
} else {
|
||||
println("Right");
|
||||
}
|
||||
if (3>4)
|
||||
println("Wrong");
|
||||
else
|
||||
println("Right");
|
||||
}
|
||||
|
||||
|
||||
1
tests/test_nequals.expected_results
Normal file
1
tests/test_nequals.expected_results
Normal file
@@ -0,0 +1 @@
|
||||
Correct
|
||||
10
tests/test_nequals.krak
Normal file
10
tests/test_nequals.krak
Normal file
@@ -0,0 +1,10 @@
|
||||
import io:*;
|
||||
|
||||
|
||||
|int| main() {
|
||||
if (1 != 2)
|
||||
println("Correct");
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user