Commit b4b3c368 authored by Stefan Behnel's avatar Stefan Behnel

extend test

parent 2ac9ffba
......@@ -94,18 +94,21 @@ def l():
def large_nums():
"""
>>> ul32, ul64, l64 = large_nums()
>>> ul32, ul64, l64, n64 = large_nums()
>>> print_large_number(ul32)
4294967295
>>> print_large_number(ul64)
18446744073709551615
>>> print_large_number(l64)
4294967295
>>> print_large_number(n64)
-4294967295
"""
cdef unsigned long ul32 = LARGE_NUM32
cdef unsigned long long ul64 = LARGE_NUM64
cdef long long l64 = LARGE_NUM32
return ul32, ul64, l64
cdef long long n64 = -LARGE_NUM32
return ul32, ul64, l64, n64
def f():
"""
......
Markdown is supported
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