#include #include #include #define CONSOLE ::yycc::windows::console namespace yycctest::windows::console { #if defined(YYCC_OS_WINDOWS) && defined(YYCC_STL_MSSTL) TEST(WindowsConsole, ColorfulConsole) { // Set colorful console should always be success. auto rv = CONSOLE::colorful_console(); EXPECT_TRUE(rv.has_value()); } #endif }