MCPcopy Create free account
hub / github.com/pymupdf/PyMuPDF / test_square

Function test_square

tests/test_annots.py:123–127  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

121
122
123def test_square():
124 doc = pymupdf.open()
125 page = doc.new_page()
126 annot = page.add_rect_annot(rect)
127 assert annot.type == (4, "Square")
128
129
130def test_circle():

Callers

nothing calls this directly

Calls 2

new_pageMethod · 0.80
add_rect_annotMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…