Sha256: 79fc335c3bea8fb9df5e8617595487df069395dafc51cfe2567d74255b94efa2

Contents?: true

Size: 342 Bytes

Versions: 198

Compression:

Stored size: 342 Bytes

Contents

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()

Version data entries

198 entries across 198 versions & 1 rubygems

Version Path
trackler-2.0.8.45 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.44 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.43 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.42 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.41 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.40 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.39 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.38 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.37 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.36 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.35 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.34 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.33 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.32 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.31 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.30 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.29 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.28 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py