MCPcopy Create free account
hub / github.com/Qinbf/groundmap / test_table

Method test_table

scripts/tests/test_section_parser.py:82–86  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

80 assert blocks[0].kind == "code"
81
82 def test_table(self):
83 text = "| a | b |\n|---|---|\n| 1 | 2 |\n"
84 blocks = split_blocks(text)
85 assert len(blocks) == 1
86 assert blocks[0].kind == "table"
87
88 def test_figure(self):
89 blocks = split_blocks("![caption](image.png)\n")

Callers

nothing calls this directly

Calls 1

split_blocksFunction · 0.90

Tested by

no test coverage detected