diff --git a/examples/tests.modal b/examples/tests.modal index 36a12d9..845aa12 100644 --- a/examples/tests.modal +++ b/examples/tests.modal @@ -125,6 +125,13 @@ nap tap (inline 1) test (undefine-me) = (undefine-me) (undefinition 3) test +?(?-) (Arithmetic) + +?((?: ?0 ?1 ?2) (?:)) + 1 2 3 = 6 (Arithmetic 1) test +?((?0 ?: ?1) (?:)) 16 - 8 = 8 (Arithmetic 2) test +?((?0 ?1 ?:) (?:)) 12 10 * = 120 (Arithmetic 3) test + ?(?-) (Late Test Primitives) -<> (?x = ?y ?n test) (?(?: ?:) (#fail ?n found: ?x expect: ?y\n)) \ No newline at end of file +<> (?x = ?y ?n test) (?(?: ?:) (#fail ?n found: ?x expect: ?y\n)) +