X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?a=blobdiff_plain;f=src%2Ftest%2Fsimpletests.lisp;h=759d57b7f85d1053a6fab130d91d8e6e640f52d4;hb=c11c429d212f7a08391cc117b9facd938cd80e63;hp=f4d6368f62097d7f3578a93be53319c220260d1e;hpb=9413d3737ae1c07d7ec2cad29ef3a6d50ab859a9;p=clnl diff --git a/src/test/simpletests.lisp b/src/test/simpletests.lisp index f4d6368..759d57b 100644 --- a/src/test/simpletests.lisp +++ b/src/test/simpletests.lisp @@ -149,3 +149,19 @@ (defreportertestwithsetup "ticks 1" "reset-ticks tick tick" "ticks" "2" "E1DE30F072D785E0D0B59F28B0F7853E3D3E0D8B") + +(defreportertestwithsetup "of / who 1" "crt 10" "[ who ] of turtles" "[5 9 4 3 7 0 1 2 6 8]" + "3F39BD2D8D5A1B2333E6C0DB665DBE3DCD5A75CE") + +(defreportertestwithsetup "set / pcolor" "ask patches [ set pcolor green ]" "[ pcolor ] of patches" + "[55 55 55 55 55 55 55 55 55]" + "3E246C518581E004BC65EFB074A09BA2EEBB2910") + +(defsimplereportertest "one-of 1" "one-of patches" "(patch -1 -1)" + "0BDACB8E9D2BB768C01826E993B47D83D39FBD0C") + +(defsimplereportertest "one-of 2" "one-of turtles" "nobody" + "E1DE30F072D785E0D0B59F28B0F7853E3D3E0D8B") + +(defreportertestwithsetup "one-of 3" "crt 10" "one-of turtles" "(turtle 5)" + "A056ED8BF26A69FB4437E79F263E362C27F8820E")