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.2.1.107 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.106 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.105 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.104 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.103 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.102 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.101 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.100 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.99 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.98 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.97 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.96 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.95 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.94 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.93 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.92 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.91 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.90 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.89 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.88 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py