Skip to content

Commit

Permalink
testing assert
Browse files Browse the repository at this point in the history
  • Loading branch information
julienthevenoz committed Feb 2, 2024
1 parent 3e14fff commit bdeb146
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions systemtests/test_flights.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,16 +165,18 @@ def translate_plot_and_check(self, testname:str) -> bool :
def test_figure8(self):
self.test_file = "figure8_ideal_traj.csv"
# run test
self.record_start_and_clean("figure8", 20)
#self.record_start_and_clean("figure8", 20)
#create the plot etc
test_passed = self.translate_plot_and_check("figure8")
#test_passed = self.translate_plot_and_check("figure8")
test_passed = False
test_passed, "figure8 test failed : deviation larger than epsilon"

def test_multi_trajectory(self):
self.test_file = "multi_trajectory_traj0_ideal.csv"
self.record_start_and_clean("multi_trajectory", 80)
#self.record_start_and_clean("multi_trajectory", 80)
test_passed = True
test_passed = self.translate_plot_and_check("multi_trajectory")
test_passed, "multitrajectory test failed : deviation larger than epsilon"
assert test_passed, "multitrajectory test failed : deviation larger than epsilon"



Expand Down

0 comments on commit bdeb146

Please sign in to comment.