# Path: tests/test_ipuz.py
# class IPUZBaseTestCase(unittest.TestCase):
# 
#     def validate_puzzle(self, json_data, expected_exception, **kwargs):
#         with self.assertRaises(ipuz.IPUZException) as cm:
#             ipuz.read(json.dumps(json_data), **kwargs)
#         self.assertEqual(str(cm.exception), expected_exception)
# 
#     def validate(self, expected_exception):
#         self.validate_puzzle(self.puzzle, expected_exception)


from .test_ipuz import IPUZBaseTestCase


class IPUZSampleSudokuTestCase(IPUZBaseTestCase):

    def setUp(self):
        self.puzzle = {
            "version": "http://ipuz.org/v1",
            "kind": ["http://ipuz.org/sudoku"],

# Path: tests/test_ipuz.py
# class IPUZBaseTestCase(unittest.TestCase):
# 
#     def validate_puzzle(self, json_data, expected_exception, **kwargs):
#         with self.assertRaises(ipuz.IPUZException) as cm:
#             ipuz.read(json.dumps(json_data), **kwargs)
#         self.assertEqual(str(cm.exception), expected_exception)
# 
#     def validate(self, expected_exception):
#         self.validate_puzzle(self.puzzle, expected_exception)


# Path: tests/test_sudoku.py
from .test_ipuz import IPUZBaseTestCase



class IPUZSampleSudokuTestCase(IPUZBaseTestCase):

    def setUp(self):
        self.puzzle = {
            "version": "http://ipuz.org/v1",
            "kind": ["http://ipuz.org/sudoku"],

            "puzzle": [],