Exemplo n.º 1
0
def test_64_minutes_should_give1_04():

    assert_equal(minutes_to_hours_and_minutes(64), '1:04')
Exemplo n.º 2
0
def test_45_minutes_should_give0_45():

    assert_equal(minutes_to_hours_and_minutes(45), '0:45')
Exemplo n.º 3
0
def test_0_minutes_should_give0_0():

    assert_equal(minutes_to_hours_and_minutes(0), '0:00')
Exemplo n.º 4
0
def test_fakultet_takes_a_tal_as_argument():
    minutes_to_hours_and_minutes()
Exemplo n.º 5
0
def test_150_minutes_should_give2_30():

    assert_equal(minutes_to_hours_and_minutes(150), '2:30')
def test_64_minutes_should_give1_04():

    assert_equal(minutes_to_hours_and_minutes(64), '1:04')
def test_0_minutes_should_give0_0():

    assert_equal(minutes_to_hours_and_minutes(0), '0:00')
def test_45_minutes_should_give0_45():

    assert_equal(minutes_to_hours_and_minutes(45), '0:45')
def test_150_minutes_should_give2_30():

    assert_equal(minutes_to_hours_and_minutes(150), '2:30')
Exemplo n.º 10
0
def test_fakultet_takes_a_tal_as_argument():
    minutes_to_hours_and_minutes()