mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 23:04:08 +10:00
Gonna start unit testing to resolve issues
This commit is contained in:
6
scripts/test/logicals.toy
Normal file
6
scripts/test/logicals.toy
Normal file
@@ -0,0 +1,6 @@
|
||||
assert true && true, "boolean and failed";
|
||||
assert true || true, "boolean or failed";
|
||||
|
||||
assert false || true && true, "boolen precedence failed";
|
||||
|
||||
print "All good";
|
||||
Reference in New Issue
Block a user