From b285f4a8e2add83667cb88b91f4763dc5a889509 Mon Sep 17 00:00:00 2001 From: pit-ray Date: Sun, 31 Mar 2024 21:41:30 +0900 Subject: [PATCH] add test for color --- tests/menu_test.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/tests/menu_test.cpp b/tests/menu_test.cpp index 978cf92..1356a13 100644 --- a/tests/menu_test.cpp +++ b/tests/menu_test.cpp @@ -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))) ; + + } }