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.7 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.6 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.5 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.4 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.3 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.2 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.1 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.0 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.0.6 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.0.5 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.0.4 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.0.3 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.0.2 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.0.1 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.0.0 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.55 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.54 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.53 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.52 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.51 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py