()
| 115 | |
| 116 | |
| 117 | def test_rich_measure(): |
| 118 | console = Console() |
| 119 | assert Table("test_header", width=-1).__rich_measure__( |
| 120 | console, console.options |
| 121 | ) == Measurement(0, 0) |
| 122 | # Check __rich_measure__() for a positive width passed as an argument |
| 123 | assert Table("test_header", width=None).__rich_measure__( |
| 124 | console, console.options.update_width(10) |
| 125 | ) == Measurement(10, 10) |
| 126 | |
| 127 | |
| 128 | def test_min_width(): |
nothing calls this directly
no test coverage detected