1
exercism fetch python zebra-puzzle

zebra_puzzle_test.py

1
2
3
4
5
6
7
8
9
10
11
12
13
14
import unittest

from zebra_puzzle import solution


class ZebraPuzzleTest(unittest.TestCase):
    def test_solution(self):
        self.assertEqual(solution(),
                         ("It is the Norwegian who drinks the water.\n"
                          "The Japanese keeps the zebra."))


if __name__ == '__main__':
    unittest.main()