def testAmEndstufe(self): start = Stelle(AllGuS.E10_6, date(2019, 1, 1)) self.assertEqual(start, start.am(date(2043, 3, 4)))
def testAmÜbersprung(self): start = Stelle(AllGuS.E10_1, date(2019, 1, 1)) self.assertEqual(Stelle(AllGuS.E10_3, date(2022, 1, 1)), start.am(date(2023, 3, 4)))
def testAmAufstieg(self): start = Stelle(AllGuS.E10_1, date(2019, 1, 1)) self.assertEqual(Stelle(AllGuS.E10_2, date(2020, 1, 1)), start.am(date(2020, 2, 17)))
def testAmRandfall(self): start = Stelle(AllGuS.E10_1, date(2019, 1, 1)) self.assertEqual(Stelle(AllGuS.E10_2, date(2020, 1, 1)), start.am(date(2020, 1, 1)))
def testAmEinfach(self): start = Stelle(AllGuS.E10_2, date(2019, 1, 1)) self.assertEqual(start, start.am(date(2019, 2, 1)))