()
| 192 | |
| 193 | |
| 194 | def test_closest_with_equals(): |
| 195 | instance = pendulum.Date(2015, 5, 28) |
| 196 | dt1 = pendulum.Date(2015, 5, 28) |
| 197 | dt2 = pendulum.Date(2015, 5, 30) |
| 198 | closest = instance.closest(dt1, dt2) |
| 199 | assert closest == dt1 |
| 200 | |
| 201 | |
| 202 | def test_farthest(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…