(self)
| 140 | assert history.size == 1 |
| 141 | |
| 142 | def test_previous(self): |
| 143 | history = InputHistory() |
| 144 | history.add("first") |
| 145 | history.add("second") |
| 146 | assert history.previous() == "second" |
| 147 | assert history.previous() == "first" |
| 148 | |
| 149 | def test_next(self): |
| 150 | history = InputHistory() |
nothing calls this directly
no test coverage detected