mirror of
https://github.com/pocketpy/pocketpy
synced 2025-11-07 20:20:17 +00:00
test
This commit is contained in:
parent
7deb36a6de
commit
6bac6d3388
@ -76,4 +76,9 @@ assert type({}) is dict
|
||||
assert {1,2}.issubset({1,2,3})
|
||||
assert {1,2,3}.issuperset({1,2})
|
||||
assert {1,2,3}.isdisjoint({4,5,6})
|
||||
assert not {1,2,3}.isdisjoint({2,3,4})
|
||||
assert not {1,2,3}.isdisjoint({2,3,4})
|
||||
|
||||
x = {i for i in range(3)}
|
||||
assert x == {0,1,2}
|
||||
x = {i for i in range(3) if i > 0}
|
||||
assert x == {1,2}
|
||||
Loading…
x
Reference in New Issue
Block a user