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.87 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.86 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.85 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.84 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.83 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.82 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.81 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.80 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.79 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.78 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.77 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.76 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.75 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.74 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.73 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.72 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.71 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.70 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.69 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.68 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py