(self)
| 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") |
| 53 | assert [b.kind for b in blocks] == ["heading", "heading", "heading"] |
| 54 | assert [b.level for b in blocks] == [1, 2, 3] |
| 55 | |
| 56 | def test_paragraph(self): |
| 57 | blocks = split_blocks("Just a paragraph.\n") |
nothing calls this directly
no test coverage detected