예제 #1
0
def test_90_false():
    assert caught_speeding(90, False) == 2
예제 #2
0
def test_40_false():
    assert caught_speeding(40, False) == 0
예제 #3
0
def test_40_true():
    assert caught_speeding(40, True) == 0
예제 #4
0
def test_75_false():
    assert caught_speeding(75, False) == 1
예제 #5
0
def test_75_true():
    assert caught_speeding(75, True) == 1
예제 #6
0
def test_85_true():
    assert caught_speeding(85, True) == 1
예제 #7
0
def test_70_false():
    assert caught_speeding(70, False) == 1
예제 #8
0
def test_85_false():
    assert caught_speeding(85, False) == 2
예제 #9
0
def test_80_false():
    assert caught_speeding(80, False) == 1
예제 #10
0
def test_65_true():
    assert caught_speeding(65, True) == 0
예제 #11
0
def test_65_false():
    assert caught_speeding(65, False) == 1
예제 #12
0
def test_60_false():
    assert caught_speeding(60, False) == 0