mirror of
https://github.com/krgamestudios/Toy.git
synced 2026-04-15 14:54:07 +10:00
Started working on compound library
This commit is contained in:
13
test/scripts/lib/compound.toy
Normal file
13
test/scripts/lib/compound.toy
Normal file
@@ -0,0 +1,13 @@
|
||||
import compound;
|
||||
|
||||
//test toLower
|
||||
{
|
||||
assert "Hello World".toLower() == "hello world", "toLower() failed";
|
||||
}
|
||||
|
||||
//test toUpper
|
||||
{
|
||||
assert "Hello World".toUpper() == "HELLO WORLD", "toUpper() failed";
|
||||
}
|
||||
|
||||
print "All good";
|
||||
Reference in New Issue
Block a user