Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update build-CI, badges and new functions #3

Merged
merged 16 commits into from
Nov 6, 2021
Prev Previous commit
Next Next commit
fix
  • Loading branch information
RobTillaart committed Nov 6, 2021
commit a26c56a875e1a1c33cb682f2d4a3475ad4fc4069
2 changes: 2 additions & 0 deletions test/unit_test_001.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ unittest(test_colour_spaces)
fprintf(stderr, "RGB : %d\n", tempColor.RGB());
fprintf(stderr, "BGR : %d\n", tempColor.BGR());
fprintf(stderr, "CMYK : %d\n", tempColor.CMYK());
fprintf(stderr, "RGB565: %d\n", tempColor.RGB565());

assertEqualFloat(90, tempColor.brightness(), 0.0001);
assertEqualFloat(0.450, tempColor.red(), 0.0001);
Expand All @@ -129,6 +130,7 @@ unittest(test_colour_spaces)
assertEqual(7595692, tempColor.RGB());
assertEqual(65792, tempColor.BGR());
assertEqual(2130722560, tempColor.CMYK());
assertEqual(12345, tempColor.RGB565());
}


Expand Down