Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RobTillaart committed Jul 23, 2024
1 parent a1ba108 commit 60dca25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/unit_test_001.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ unittest(test_angleFactor)
myLux.begin();

// -89 ..89
assertEqualFloat(572.9667, myLux.setAngle(-90), 0.0001);
assertEqualFloat(572.967, myLux.setAngle(-90), 0.001);
assertEqualFloat( 57.2987, myLux.setAngle(-89), 0.0001);
assertEqualFloat( 2.00000, myLux.setAngle(-60), 0.0001);
assertEqualFloat( 1.41421, myLux.setAngle(-45), 0.0001);
Expand All @@ -162,7 +162,7 @@ unittest(test_angleFactor)
assertEqualFloat( 1.41421, myLux.setAngle( 45), 0.0001);
assertEqualFloat( 2.00000, myLux.setAngle( 60), 0.0001);
assertEqualFloat( 57.2987, myLux.setAngle( 89), 0.0001);
assertEqualFloat( 572.9667, myLux.setAngle( 90), 0.0001);
assertEqualFloat( 572.967, myLux.setAngle( 90), 0.001);
}


Expand Down

0 comments on commit 60dca25

Please # to comment.