Thanks to visit codestin.com Credit goes to github.com
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 c908058 commit 34997e4Copy full SHA for 34997e4
tests/test_csp.py
@@ -382,6 +382,8 @@ def test_tree_csp_solver():
382
assert (tcs['NT'] == 'R' and tcs['WA'] == 'B' and tcs['Q'] == 'B' and tcs['NSW'] == 'R' and tcs['V'] == 'B') or \
383
(tcs['NT'] == 'B' and tcs['WA'] == 'R' and tcs['Q'] == 'R' and tcs['NSW'] == 'B' and tcs['V'] == 'R')
384
385
-
+def test_zebra_problem():
386
+ zebra_solution = solve_zebra()
387
+ assert(zebra_solution[0] == 5 and zebra_solution[1] == 1)
388
if __name__ == "__main__":
389
pytest.main()
0 commit comments