Exemple #1
0
def test_rounding_value():
    eq_(round_timefile(eight), eight)
    eq_(round_timefile(eight + minutes(20)), eight)
Exemple #2
0
def test_rounding_similarity():
    eq_(round_timefile(eight), round_timefile(eight+minutes(20)))
    assert round_timefile(eight) != round_timefile(nine)