diff options
author | Damien George <damien.p.george@gmail.com> | 2015-03-03 16:45:39 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-03-03 16:45:39 +0000 |
commit | 086a7616ddd1736e064aab70bf5126bf24988a45 (patch) | |
tree | d90375a372ff971c43a1ab13ead608ea1b154d68 /tests/basics/int_big_cmp.py | |
parent | 25f1264699b9f718607e3e861ed6217bf490fe46 (diff) | |
download | micropython-086a7616ddd1736e064aab70bf5126bf24988a45.tar.gz micropython-086a7616ddd1736e064aab70bf5126bf24988a45.zip |
tests: Add tests for boundmeth; and bignum cmp, unary, float, error.
Diffstat (limited to 'tests/basics/int_big_cmp.py')
-rw-r--r-- | tests/basics/int_big_cmp.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/basics/int_big_cmp.py b/tests/basics/int_big_cmp.py new file mode 100644 index 0000000000..7cb7412bdf --- /dev/null +++ b/tests/basics/int_big_cmp.py @@ -0,0 +1,10 @@ +# test bignum comparisons + +i = 1 << 65 + +print(i == 0) +print(i != 0) +print(i < 0) +print(i > 0) +print(i <= 0) +print(i >= 0) |