Sha256: 8f9354fdb911ee84d06fb65d0053aa67e3e02f4d52dd2396ab27c76fd3330f87
Contents?: true
Size: 433 Bytes
Versions: 71
Compression:
Stored size: 433 Bytes
Contents
import unittest from zebra_puzzle import drinks_water, owns_zebra # Tests adapted from `problem-specifications//canonical-data.json` @ v1.1.0 class ZebraPuzzleTest(unittest.TestCase): def test_resident_who_drinks_water(self): self.assertEqual(drinks_water(), "Norwegian") def test_resident_who_owns_zebra(self): self.assertEqual(owns_zebra(), "Japanese") if __name__ == '__main__': unittest.main()
Version data entries
71 entries across 71 versions & 1 rubygems