Commit c98d7461 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests/micropython/: Split off intbig tests.

parent 1bd17de4
......@@ -50,13 +50,6 @@ def viper_no_annotation(x, y):
return x * y
print(viper_no_annotation(4, 5))
# unsigned ints
@micropython.viper
def viper_uint() -> uint:
return uint(-1)
import sys
print(viper_uint() == (sys.maxsize << 1 | 1))
# a for loop
@micropython.viper
def viper_for(a:int, b:int) -> int:
......
......@@ -5,7 +5,6 @@ Ellipsis
6
7
20
True
49994955
1 1
1 3
......
import micropython
# unsigned ints
@micropython.viper
def viper_uint() -> uint:
return uint(-1)
import sys
print(viper_uint() == (sys.maxsize << 1 | 1))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment