Skip to content

Commit

Permalink
add test for color
Browse files Browse the repository at this point in the history
  • Loading branch information
pit-ray committed Mar 31, 2024
1 parent a4c813c commit b285f4a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/menu_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,11 @@ TEST_CASE("FluentMenu Test: ") {
menu2.uncheck() ;
CHECK_FALSE(menu2.is_checked()) ;
}

SUBCASE("set_color") {
FluentMenu menu1 ;
CHECK(menu1.set_color(
RGB(255, 0, 255), RGB(0, 255, 255), RGB(0, 0, 255))) ;

}
}

0 comments on commit b285f4a

Please sign in to comment.