Skip to content

Commit

Permalink
add test for boolean And
Browse files Browse the repository at this point in the history
  • Loading branch information
readevalprint committed Apr 29, 2019
1 parent 164ee88 commit 3ea190b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test_simpleeval.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ def test_maths_with_ints(self):
self.t("100 % 9", 1)

def test_bools_and_or(self):
self.t('True and 0', 0)
self.t('True and False', False)
self.t('True or False', True)
self.t('False or False', False)
Expand Down

0 comments on commit 3ea190b

Please sign in to comment.