rocinantealpha

reference / testing

expect

Inside a check: says what has to be true. When it is not, roci test shows what both sides of is were.

learn bigger a b [  if a > b [ give a ]  give b]check "bigger" [  expect bigger 3 8 is 8  expect bigger 8 3 is 8  expect (bigger 5 5) > 4]circle at 200 150 radius (bigger 30 60)
what it draws: the whole window, 400 by 300
What the example of expect draws

How to write it

expect condition

Related