MCPcopy
hub / github.com/Textualize/textual / test_split

Function test_split

tests/test_geometry.py:418–424  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

416
417
418def test_split():
419 assert Region(10, 5, 22, 15).split(10, 5) == (
420 Region(10, 5, 10, 5),
421 Region(20, 5, 12, 5),
422 Region(10, 10, 10, 10),
423 Region(20, 10, 12, 10),
424 )
425
426
427def test_split_negative():

Callers

nothing calls this directly

Calls 2

RegionClass · 0.90
splitMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…