MCPcopy Create free account
hub / github.com/daft-dev/daft / test_add_text

Function test_add_text

test/test_daft.py:63–69  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

61
62
63def test_add_text():
64 with daft.PGM() as pgm:
65 pgm.add_text(x=0, y=0, label="text1")
66
67 plate = pgm._plates[0]
68 assert plate.rect == [0, 0, 0, 0]
69 assert plate.label == "text1"
70
71
72def test_pop_multiple():

Callers

nothing calls this directly

Calls 1

add_textMethod · 0.80

Tested by

no test coverage detected