예제 #1
0
def test_no_surrender():
    assert extract_match.surrendered(no_surrender_match) == 0.05
예제 #2
0
def test_surrendered_low_towers():
    assert extract_match.surrendered(four_tower_match) == 1
예제 #3
0
def test_surrendered_no_inhibitors():
    assert extract_match.surrendered(no_inhibitors_match) == 1
예제 #4
0
def test_not_surrendered_short_match():
    assert extract_match.surrendered(short_match) == 0
예제 #5
0
def test_no_surrender():
    assert extract_match.surrendered(no_surrender_match) == 0.05
예제 #6
0
def test_surrendered_no_inhibitors():
    assert extract_match.surrendered(no_inhibitors_match) == 1
예제 #7
0
def test_surrendered_low_towers():
    assert extract_match.surrendered(four_tower_match) == 1
예제 #8
0
def test_not_surrendered_short_match():
    assert extract_match.surrendered(short_match) == 0