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.27 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.26 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.25 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.24 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.23 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.22 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.21 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.20 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.19 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.18 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.17 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.16 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.15 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.14 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.13 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.12 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.11 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.10 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.9 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py
trackler-2.2.1.8 tracks/python/exercises/zebra-puzzle/zebra_puzzle_test.py