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.67 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.66 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.65 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.64 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.63 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.62 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.61 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.60 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.59 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.58 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.57 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.56 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.55 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.54 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.53 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.52 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.51 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.50 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.49 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.48 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py