()
| 200 | |
| 201 | |
| 202 | def test_farthest(): |
| 203 | instance = pendulum.Date(2015, 5, 28) |
| 204 | dt1 = pendulum.Date(2015, 5, 27) |
| 205 | dt2 = pendulum.Date(2015, 5, 30) |
| 206 | closest = instance.farthest(dt1, dt2) |
| 207 | assert closest == dt2 |
| 208 | |
| 209 | closest = instance.farthest(dt2, dt1) |
| 210 | assert closest == dt2 |
| 211 | |
| 212 | |
| 213 | def test_farthest_with_date(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…