Beispiel #1
0
def test07():
    return elapsed_minutes("1213", "1929") == 436
Beispiel #2
0
def test05():
    return elapsed_minutes("0959", "1058") == 59
Beispiel #3
0
def test06():
    return elapsed_minutes("0000", "2359") == 1439
Beispiel #4
0
def test03():
    return elapsed_minutes("0237", "0337") == 60
Beispiel #5
0
def test04():
    return elapsed_minutes("0237", "0338") == 61
Beispiel #6
0
def test01():
    return elapsed_minutes("1234", "1234") == 0
Beispiel #7
0
def test02():
    return elapsed_minutes("0001", "0002") == 1
Beispiel #8
0
def test_D2():
    assert elapsed_minutes("1532", "2359") == 507
Beispiel #9
0
def test_D1():
    assert elapsed_minutes("0800", "1930") == 690
Beispiel #10
0
def test_D5():
    assert elapsed_minutes("0531", "1424") == 533
Beispiel #11
0
def test_D4():
    assert elapsed_minutes("1955", "2312") == 197
Beispiel #12
0
def test_D3():
    assert elapsed_minutes("0338", "2054") == 1036