X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?p=clnl;a=blobdiff_plain;f=src%2Ftest%2Fsimpletests.lisp;h=759d57b7f85d1053a6fab130d91d8e6e640f52d4;hp=0c571e890a66b2f0a60c33a899cd894e8a1dcf9b;hb=c11c429d212f7a08391cc117b9facd938cd80e63;hpb=f00d5c7c0e0b18f334da14c2e4107a7f1f68b45f diff --git a/src/test/simpletests.lisp b/src/test/simpletests.lisp index 0c571e8..759d57b 100644 --- a/src/test/simpletests.lisp +++ b/src/test/simpletests.lisp @@ -156,3 +156,12 @@ (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")