Skip to content

Commit

Permalink
Make the color test more sophisticated.
Browse files Browse the repository at this point in the history
  • Loading branch information
vahancho committed Mar 30, 2023
1 parent 3eb8e61 commit fb6bd35
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@ int main(int argc, char **argv)
TEST(color.green() == 0);
TEST(color.blue() == 0);

color = {255, 255, 255};
TEST(color.red() == 255);
TEST(color.green() == 255);
color = {253, 254, 255};
TEST(color.red() == 253);
TEST(color.green() == 254);
TEST(color.blue() == 255);

const std::string imagePath(argv[1]);
Expand Down

0 comments on commit fb6bd35

Please sign in to comment.