Added arithmetic tests

This commit is contained in:
Devine Lu Linvega 2024-04-28 21:15:56 -07:00
parent fb394db72d
commit 2f1df92c21
1 changed files with 8 additions and 1 deletions

View File

@ -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))