X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?p=clnl;a=blobdiff_plain;f=src%2Ftest%2Fsimpletests.lisp;h=96ce890ef55128de24664bd6ea60747a525a1ab0;hp=a82c5973a66f33863db11fedfd5bcd9a9a1ff0ea;hb=083d6c2;hpb=bc4ccb4263ccbcc915d913c7111fdd40e2e998fe diff --git a/src/test/simpletests.lisp b/src/test/simpletests.lisp index a82c597..96ce890 100644 --- a/src/test/simpletests.lisp +++ b/src/test/simpletests.lisp @@ -211,3 +211,17 @@ (defsimplereportertest "count 3" "count patches" "9" "E1DE30F072D785E0D0B59F28B0F7853E3D3E0D8B") + +(defreportertestwithsetup "with 1" + "crt 10 [ set color blue ] crt 10 [ set color green ]" "turtles with [ color = blue ]" + "(agentset, 10 turtles)" + "3FA51464CBF2AD493FA95A52E17768E1D8C8EFBB") + +(defreportertestwithsetup "with 2" + "crt 10 [ set color blue ] crt 10 [ set color green ]" "turtles with [ color = black ]" + "(agentset, 0 turtles)" + "3FA51464CBF2AD493FA95A52E17768E1D8C8EFBB") + +(defsimplereportertest "with 3" "patches with [ pcolor = green ]" + "(agentset, 0 patches)" + "E1DE30F072D785E0D0B59F28B0F7853E3D3E0D8B")