Added tests for whitespace

This commit is contained in:
Devine Lu Linvega 2024-04-23 08:21:35 -07:00
parent 95d8bf3d8e
commit bb58d295fd
1 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,12 @@
?(?-) (This example tests various aspects of the implementation.)
?(?-) (Whitespace)
(a b c ) = (a b c) test
( a b c) = (a b c) test
( a b c ) = (a b c) test
(a b c ( a b c ) ) = (a b c (a b c)) test
?(?-) (Inline rules)
<> ((?x -> ?y)) (<> ?x ?y)
@ -90,4 +97,4 @@ implode (12 (34 (56 ()))) 123456 test
<> (reverse (?*)) (reverse List (?*) ())
<> (reverse List (?x ?y) ?z) (reverse List ?y (?x ?z))
reverse (modal) = ladom test
reverse (modal) = ladom test