We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 36e5c0b commit aa43c0cCopy full SHA for aa43c0c
tests/test_strategies_core.py
@@ -78,16 +78,17 @@ def test_box_line_claiming_col() -> None:
78
cand = candidates(grid)
79
digit = 4
80
_clear_digit(cand, digit)
81
- for r in range(3):
82
- cand[r][0].add(digit)
83
- cand[1][1].add(digit)
+ cand[0][0].add(digit)
+ cand[1][0].add(digit)
+ cand[2][1].add(digit)
84
85
move = apply_box_line_claiming(grid, cand)
86
87
assert move is not None
88
assert move["strategy"] == "box_line_col"
89
assert move["box"] == 0
90
- assert digit not in cand[1][1]
+ assert move["r"] == 2 and move["c"] == 1
91
+ assert digit not in cand[2][1]
92
93
94
def test_naked_pair_eliminates_other_candidates() -> None:
0 commit comments