()
| 211 | |
| 212 | |
| 213 | def test_farthest_with_date(): |
| 214 | instance = pendulum.Date(2015, 5, 28) |
| 215 | dt1 = date(2015, 5, 27) |
| 216 | dt2 = date(2015, 5, 30) |
| 217 | closest = instance.farthest(dt1, dt2) |
| 218 | assert isinstance(closest, pendulum.Date) |
| 219 | assert_date(closest, 2015, 5, 30) |
| 220 | |
| 221 | |
| 222 | def test_farthest_with_equals(): |
nothing calls this directly
no test coverage detected
searching dependent graphs…