Ejemplo n.º 1
0
 def test_to_from_csv(self):
     flight = Flight.from_log('test/ekfv3_test.BIN')
     flight.to_csv('temp.csv')
     flight2 = Flight.from_csv('temp.csv')
     os.remove('temp.csv')
     self.assertAlmostEqual(flight2.duration, flight.duration)
     self.assertAlmostEqual(flight2.zero_time, flight.zero_time)
Ejemplo n.º 2
0
 def setUp(self):
     self.flight = Flight.from_csv('test/ekfv3_test.csv')