Skip to content

Commit

Permalink
breaking the tests to test the rostest pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
klaxalk committed Nov 18, 2023
1 parent 3a7c139 commit 87a98c9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/attitude_converter/test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ TEST(TESTSuite, conversion_chain) {
printf("final output: roll=%1.2f, pitch=%1.2f, yaw=%1.2f, heading=%1.2f\n", roll3, pitch3, yaw3, heading1);
printf("\n");

// breaking the test to test the tests
pitch3 = 10.2;

if (fabs(roll3 - roll) > 1e-6 || fabs(pitch3 - pitch) > 1e-6 || fabs(yaw3 - yaw) > 1e-6) {
result *= 0;
}
Expand Down

0 comments on commit 87a98c9

Please sign in to comment.