def test_player_py_negative(self): with pytest.raises(PlayerParameterException): player = Player(name, tuple_ones) player.round = -1
def test_player_py_decimal(self): with pytest.raises(PlayerParameterException): player = Player(name, tuple_ones) player.round = 3.5
def test_player_round_is_not_number(self): with pytest.raises(PlayerParameterException): player = Player(name, tuple_ones) player.round = "Tests"