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