MCPcopy Index your code
hub / github.com/python-pendulum/pendulum / test_farthest

Function test_farthest

tests/time/test_comparison.py:152–160  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

150
151
152def test_farthest():
153 instance = pendulum.time(12, 34, 56)
154 t1 = pendulum.time(12, 34, 54)
155 t2 = pendulum.time(12, 34, 59)
156 farthest = instance.farthest(t1, t2)
157 assert t2 == farthest
158
159 farthest = instance.farthest(t2, t1)
160 assert t2 == farthest
161
162
163def test_farthest_with_time():

Callers

nothing calls this directly

Calls 2

timeMethod · 0.80
farthestMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…