Skip to content

Commit

Permalink
Fix boolean test case
Browse files Browse the repository at this point in the history
  • Loading branch information
RauliL committed Aug 16, 2017
1 parent 00478df commit a31ada9
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions tests/test-boolean.plorth
Original file line number Diff line number Diff line change
@@ -1,13 +1,29 @@
"./framework.plorth" import

"and"
( true true and ) expect
[
( true true and ),
( true false and not ),
]
test-case

"or"
( false true or ) expect
[
( false true or ),
( false false or not ),
]
test-case

"xor"
( true false xor ) expect
[
( true false xor ),
( false false xor not ),
]
test-case

"not"
( true not false = ) expect
[
( true not false = ),
( false not true = ),
]
test-case

0 comments on commit a31ada9

Please sign in to comment.