add keys to tree control

This commit is contained in:
Will McGugan
2021-08-21 11:19:06 +01:00
parent f1107a19a9
commit 6ec37ce82f
13 changed files with 248 additions and 45 deletions

View File

@@ -87,6 +87,11 @@ def test_point_blend():
assert Offset(1, 2).blend(Offset(3, 4), 0.5) == Offset(2, 3)
def test_region_null():
assert Region() == Region(0, 0, 0, 0)
assert not Region()
def test_region_from_origin():
assert Region.from_origin(Offset(3, 4), (5, 6)) == Region(3, 4, 5, 6)