Commit ab789ce4 authored by Arnaud B.'s avatar Arnaud B.

Remove TODOs.

parent 5b1a377d
......@@ -406,11 +406,12 @@ private class DecisionTree
level = Difficulty.MEDIUM;
plies = 7;
}
else // TODO if (vstr [0] == 'c') / else assert_not_reached ();
else if (vstr [0] == 'c')
{
level = Difficulty.HARD;
plies = 7;
}
else assert_not_reached ();
}
/* utility function for testing purposes */
......
......@@ -79,7 +79,7 @@ private static inline void test_forward_diagonal_win ()
/* Tests if the AI makes moves so as to take up immediate backward diagonal wins.*/
private static inline void test_backward_diagonal_win ()
{
assert_true (playgame ("5422327343142110") == 0); // TODO no "a"?
assert_true (playgame ("a5422327343142110") == 0);
assert_true (playgame ("a1415113315143220") == 1);
assert_true (playgame ("a547323452213345110") == 0);
assert_true (playgame ("a4256424426621271412117175776343330") == 2);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment