From e4a64c1545f6d9fcca5f8fae1d6f5726a5bd03cb Mon Sep 17 00:00:00 2001 From: Akshay Verma Date: Tue, 30 Oct 2018 14:09:34 +0100 Subject: [PATCH] int.py added to test for orderable operators --- tests/snippets/int.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 tests/snippets/int.py diff --git a/tests/snippets/int.py b/tests/snippets/int.py new file mode 100644 index 00000000000..ffdd8029528 --- /dev/null +++ b/tests/snippets/int.py @@ -0,0 +1,16 @@ +1 + 2 + +a = 1 +b = 2 +c = 3 +assert a < b +assert not b < a +assert a <= b +assert a <= c + +assert b > a +assert not a > b +assert not a > c +assert b >= a +assert c >= a +assert not a >= b \ No newline at end of file