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.1.0.9 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.8 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.7 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.6 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.5 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.4 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.3 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.2 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.1 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.0 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.55 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.54 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.53 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.52 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.51 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.50 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.49 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.48 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.47 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.0.8.46 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py