tests module

class tests.GeneratorsTests(methodName='runTest')

Bases: unittest.case.TestCase

test_ahoughton_generator()

Test that the Ahoughton generator returns a valid MoonBoard problem

test_empy_generator()

Test that an empty generator raises a NotImplementedError when generate() is called

class tests.MoonboardTests(methodName='runTest')

Bases: unittest.case.TestCase

test_equal_moonboards()

Test that two MoonBoard objects with the same parameters are equal

test_get_invalid_moonboard()

Test that an invalid moon year raises an error

test_get_valid_moonboard()

Test that a valid moon year returns a MoonBoard object