forked from ground/ground
More tests and readme
This commit is contained in:
3
tests/exiting.grnd
Normal file
3
tests/exiting.grnd
Normal file
@@ -0,0 +1,3 @@
|
||||
stdlnout "Time to exit Ground! We totally had an error, so there should be a return code of 1"
|
||||
|
||||
end 1
|
7
tests/input.grnd
Normal file
7
tests/input.grnd
Normal file
@@ -0,0 +1,7 @@
|
||||
stdout "Do you like cheese? "
|
||||
stdin &userin
|
||||
equal $userin "yes" &condition
|
||||
if $condition %7
|
||||
stdlnout "That is sad"
|
||||
jump %1
|
||||
stdlnout "Awesome! I do too!"
|
Reference in New Issue
Block a user