def test_paschal_computus_equivalence(self): "Computus and Paschal moon must give same date for easter" for year in xrange(1753, 4999): self.assertEqual(paschal(year), computus(year))
def test_some_easter_dates(self): "Verify some known easter date" for year, month, day in easters: self.assertEqual(computus(year), date(year, month, day))