mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-24 05:20:17 +00:00
add more tests
This commit is contained in:
parent
370e3e5e11
commit
70b536ea1b
@ -276,10 +276,10 @@ try:
|
||||
except:
|
||||
pass
|
||||
|
||||
assert (1,2,3).__contains__(5) == False
|
||||
|
||||
assert (1,2,2,3,3,3).count(3) == 3
|
||||
assert (1,2,2,3,3,3).count(0) == 0
|
||||
assert 3 in (1, 3, 4)
|
||||
assert 5 not in (1, 3, 4)
|
||||
|
||||
assert repr(True) == 'True'
|
||||
assert repr(False) == 'False'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user