Skip to content

Commit

Permalink
Tests for logic operators (#229)
Browse files Browse the repository at this point in the history
  • Loading branch information
vladmos authored Mar 9, 2018
1 parent 3802a37 commit 405641a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build/testdata/052.golden
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ foo = bar // baz

foo = bar % baz

# Logic operators
not foo < bar > baz <= foo >= bar != baz in foo == bar or baz

# Augmented assignments

foo += bar
Expand Down
3 changes: 3 additions & 0 deletions build/testdata/052.in
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ foo=bar/baz
foo=bar//baz
foo=bar%baz

# Logic operators
not foo<bar>baz<=foo>=bar!=baz in foo==bar or baz

# Augmented assignments

foo+=bar
Expand Down

0 comments on commit 405641a

Please sign in to comment.