()
| 105 | |
| 106 | |
| 107 | def test_measure(): |
| 108 | console = Console(file=io.StringIO(), width=20) |
| 109 | _min, _max = Measurement.get(console, console.options, Align("foo bar", "left")) |
| 110 | assert _min == 3 |
| 111 | assert _max == 7 |
| 112 | |
| 113 | |
| 114 | def test_align_no_pad(): |