Renamed integrity tests to standard.
[pseudoku.git] / pseudoku / tests / standard / simple.py
diff --git a/pseudoku/tests/standard/simple.py b/pseudoku/tests/standard/simple.py
new file mode 100644 (file)
index 0000000..48cde80
--- /dev/null
@@ -0,0 +1,15 @@
+from pseudoku.grid import Grid
+
+from pseudoku.tests import SudokuTestCase
+
+class SimpleGridTestCase(SudokuTestCase):
+    """Tests the solving integrity of some puzzles that can be solved using
+    only elimination and uniqueness.
+    """
+
+    def test_simple(self):
+        self.assertSolvable("""
+            ...69.... 9.5..876. ..4..1.2.
+            6...5...3 38.....49 7...3...2
+            .7.9..3.. .231..4.8 ....83...
+        """)