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