Exemple #1
0
 def testAmEndstufe(self):
     start = Stelle(AllGuS.E10_6, date(2019, 1, 1))
     self.assertEqual(start, start.am(date(2043, 3, 4)))
Exemple #2
0
 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)))
Exemple #3
0
 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)))
Exemple #4
0
 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)))
Exemple #5
0
 def testAmEinfach(self):
     start = Stelle(AllGuS.E10_2, date(2019, 1, 1))
     self.assertEqual(start, start.am(date(2019, 2, 1)))