mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-22 12:30:19 +00:00
...
This commit is contained in:
parent
9ea76aee85
commit
d7e277e822
@ -30,3 +30,21 @@ if inq is not 1:
|
|||||||
assert True
|
assert True
|
||||||
if inq is not 0:
|
if inq is not 0:
|
||||||
assert False
|
assert False
|
||||||
|
|
||||||
|
assert pow(2,5000,2**59-1) == 17592186044416
|
||||||
|
|
||||||
|
def g(x):
|
||||||
|
return x
|
||||||
|
def f(x):
|
||||||
|
return x
|
||||||
|
|
||||||
|
assert (g(1), 2) == (1, 2)
|
||||||
|
assert (
|
||||||
|
g(1),
|
||||||
|
2
|
||||||
|
) == (1, 2)
|
||||||
|
|
||||||
|
assert f((
|
||||||
|
g(1),
|
||||||
|
2
|
||||||
|
)) == (1, 2)
|
@ -1,15 +0,0 @@
|
|||||||
def g(x):
|
|
||||||
return x
|
|
||||||
def f(x):
|
|
||||||
return x
|
|
||||||
|
|
||||||
assert (g(1), 2) == (1, 2)
|
|
||||||
assert (
|
|
||||||
g(1),
|
|
||||||
2
|
|
||||||
) == (1, 2)
|
|
||||||
|
|
||||||
assert f((
|
|
||||||
g(1),
|
|
||||||
2
|
|
||||||
)) == (1, 2)
|
|
Loading…
x
Reference in New Issue
Block a user