Co-Simulation/Sumo/sumo-1.7.0/unittest/src/utils/common/RGBColorTest.cpp
/* Test the method 'parseColor'*/
Test the method 'parseColor'
Test the method ' parseColor '
TEST(RGBColor, test_parseColor) {
    RGBColor color = RGBColor::parseColor("0,1,255");
    EXPECT_EQ(0, color.red());
    EXPECT_EQ(1, color.green());
    EXPECT_EQ(255, color.blue());
}
TEST ( RGBColor , test_parseColor ) { RGBColor color = RGBColor :: parseColor ( " " ) ; EXPECT_EQ ( 0 , color . red ( ) ) ; EXPECT_EQ ( 1 , color . green ( ) ) ; EXPECT_EQ ( 255 , color . blue ( ) ) ; }
Test the method 'parseColor'
Test the method ' parseColor '