X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2Ftest%2Fsimpletests.lisp;h=dc57793c612937605aee42038ea54d729c91cb91;hb=1dd12dd5293763a49a8f1d78d86f82aa5a4ed5fe;hp=96ce890ef55128de24664bd6ea60747a525a1ab0;hpb=083d6c212147c2242f0513924e931bcdafd641c9;p=clnl diff --git a/src/test/simpletests.lisp b/src/test/simpletests.lisp index 96ce890..dc57793 100644 --- a/src/test/simpletests.lisp +++ b/src/test/simpletests.lisp @@ -135,6 +135,12 @@ (defsimplecommandtest "ifelse 2" "ifelse 5 = 4 [ crt 10 ] [ crt 5 ] if-else 5 = 4 [ crt 10 ] [ crt 5 ]" "A925E39EC022967568D238D31F70F0A375024A89") +(defsimplecommandtest "not 1" "if not (5 = 5) [ crt 10 ]" + "E1DE30F072D785E0D0B59F28B0F7853E3D3E0D8B") + +(defsimplecommandtest "not 2" "if not (5 = 4) [ crt 10 ]" + "A925E39EC022967568D238D31F70F0A375024A89") + (defsimplereportertest "colors 1" "green" "55" "E1DE30F072D785E0D0B59F28B0F7853E3D3E0D8B") @@ -225,3 +231,9 @@ (defsimplereportertest "with 3" "patches with [ pcolor = green ]" "(agentset, 0 patches)" "E1DE30F072D785E0D0B59F28B0F7853E3D3E0D8B") + +(defsimplecommandtest "hatch 1" "crt 10 ask turtles [ hatch 1 ]" + "29E3D1D3FAA14FC0D6E03DB1315932EEBC7CB1F1") + +(defsimplecommandtest "hatch 2" "crt 10 ask turtles [ hatch 1 [ fd .5 ] ] ask turtles [ fd .5 ]" + "58E3CBC869F26B7D9ABC0C05C58C29F2FD588912")