Lines Matching refs:aTestColor
58 Color aTestColor; in TEST_F() local
60 aTestColor = Color(0xDEADBEEF); in TEST_F()
61 ASSERT_TRUE( aTestColor.toInt32() == 0xDEADBEEF ) << "unary constructor"; in TEST_F()
63 aTestColor = Color( 0x10, 0x20, 0xFF ); in TEST_F()
64 ASSERT_TRUE( aTestColor.toInt32() == 0x001020FF ) << "ternary constructor"; in TEST_F()
66 aTestColor.setRed( 0x0F ); in TEST_F()
67 ASSERT_TRUE( aTestColor.toInt32() == 0x00F20FF ) << "setRed()"; in TEST_F()
69 aTestColor.setGreen( 0x0F ); in TEST_F()
70 ASSERT_TRUE( aTestColor.toInt32() == 0x00F0FFF ) << "setGreen()"; in TEST_F()
72 aTestColor.setBlue( 0x10 ); in TEST_F()
73 ASSERT_TRUE( aTestColor.toInt32() == 0x00F0F10 ) << "setBlue()"; in TEST_F()
75 aTestColor.setGrey( 0x13 ); in TEST_F()
76 ASSERT_TRUE( aTestColor.toInt32() == 0x00131313 ) << "setGrey()"; in TEST_F()
78 aTestColor = Color( 0x10, 0x20, 0xFF ); in TEST_F()
79 ASSERT_TRUE( aTestColor.getRed() == 0x10 ) << "getRed()"; in TEST_F()
80 ASSERT_TRUE( aTestColor.getGreen() == 0x20 ) << "getGreen()"; in TEST_F()
81 ASSERT_TRUE( aTestColor.getBlue() == 0xFF ) << "getBlue()"; in TEST_F()