pre-commit

This commit is contained in:
Zafir Stojanovski 2025-02-21 13:39:05 +01:00
parent 941085e0c5
commit 96464388bb
3 changed files with 12 additions and 12 deletions

View file

@ -26,7 +26,7 @@ def test_binary_alternation_config_validation():
with pytest.raises(AssertionError):
config = BinaryAlternationConfig(p_solvable=-0.01) # < 0 not allowed
config.validate()
with pytest.raises(AssertionError):
config = BinaryAlternationConfig(p_solvable=1.01) # > 0 not allowed
config.validate()
@ -101,4 +101,4 @@ def test_binary_alternation_answer():
# One shot example
string = "111000"
assert dataset._get_answer(string) == 1
assert dataset._get_answer(string) == 1