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.29 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.28 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.27 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.26 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.25 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.24 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.23 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.22 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.21 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.20 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.19 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.18 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.17 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.16 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.15 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.14 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.13 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.12 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.11 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.1.0.10 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py