(self)
| 42 | assert split_blocks("") == [] |
| 43 | |
| 44 | def test_single_heading(self): |
| 45 | blocks = split_blocks("# Title\n") |
| 46 | assert len(blocks) == 1 |
| 47 | assert blocks[0].kind == "heading" |
| 48 | assert blocks[0].level == 1 |
| 49 | assert blocks[0].title == "Title" |
| 50 | |
| 51 | def test_heading_levels(self): |
| 52 | blocks = split_blocks("# A\n\n## B\n\n### C\n") |
nothing calls this directly
no test coverage detected