mirror of
https://github.com/pocketpy/pocketpy
synced 2025-11-08 12:40:17 +00:00
test
This commit is contained in:
parent
7deb36a6de
commit
6bac6d3388
@ -77,3 +77,8 @@ assert {1,2}.issubset({1,2,3})
|
|||||||
assert {1,2,3}.issuperset({1,2})
|
assert {1,2,3}.issuperset({1,2})
|
||||||
assert {1,2,3}.isdisjoint({4,5,6})
|
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