public void _3_1_1_Has4x4Field_DontHaveAnyPossibility() { var n = 4; var testable = new _3_1_1(); var expected = new List <Pos> { new Pos { Row = 0, Col = 1 }, new Pos { Row = 1, Col = 3 }, new Pos { Row = 2, Col = 0 }, new Pos { Row = 3, Col = 2 } }; var result = testable.Run(n); result.Reverse(); Assert.That(result.Any()); Assert.That(result, IsDeepEqual.DeepEqualTo(expected)); }
public void _3_1_1_Has3x3Field_DontHaveAnyPossibility() { var n = 3; var testable = new _3_1_1(); var result = testable.Run(n); Assert.That(!result.Any()); }