Skip to content

Commit

Permalink
extend test
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Nov 28, 2024
1 parent f5e92a7 commit 1cdcb02
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
3 changes: 3 additions & 0 deletions tests/Compilation/positive/out/test087.out
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ LessThan
GreaterThan
LessThan
GreaterThan
LessThan
GreaterThan
Equal
10 changes: 9 additions & 1 deletion tests/Compilation/positive/test087.juvix
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,12 @@ main : IO :=
>>> printLn (compare (One, One) (One, Three))
>>> printLn (compare (Four, Four) (Four, Three))
>>> printLn
(compare (node leaf Four leaf) (node (node leaf One leaf) Two leaf));
(compare (node leaf Four leaf) (node (node leaf One leaf) Two leaf))
>>> printLn
(compare
(node (node leaf One leaf) Four leaf)
(node (node leaf One leaf) Two leaf))
>>> printLn
(compare
(node (node leaf One leaf) Four leaf)
(node (node leaf One leaf) Four leaf));

0 comments on commit 1cdcb02

Please sign in to comment.