Example #1
0
 def test_resetWayPointThenTriagle6(self):
     struct = processInputFile(
         os.path.join(os.path.dirname(__file__), "test_input_6.txt"))
     self.assertEqual(0, followCourse(struct))
Example #2
0
 def test_followShort(self):
     struct = processInputFile(
         os.path.join(os.path.dirname(__file__), "test_input.txt"))
     followCourse(struct)
Example #3
0
 def test_defaultWayPoint1Step(self):
     struct = processInputFile(
         os.path.join(os.path.dirname(__file__), "test_input_2.txt"))
     self.assertEqual(11, followCourse(struct))