()
| 314 | |
| 315 | |
| 316 | def test_console_width(): |
| 317 | console = Console() |
| 318 | text = Text("Hello World!\nfoobarbaz") |
| 319 | assert text.__rich_measure__(console, 80) == Measurement(9, 12) |
| 320 | assert Text(" " * 4).__rich_measure__(console, 80) == Measurement(4, 4) |
| 321 | assert Text(" \n \n ").__rich_measure__(console, 80) == Measurement(3, 3) |
| 322 | |
| 323 | |
| 324 | def test_join(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…