rocinantealpha

reference / testing

check

A test of the verbs above it, with a name. roci run skips it; roci test runs it and says which expect did not hold.

learn double n [ give n * 2 ]check "double" [  expect double 21 is 42  expect double -1 is -2]circle at 200 150 radius (double 40)
what it draws: the whole window, 400 by 300
What the example of check draws

How to write it

check "name" [ ... ]

Related