Using DenseVector and Range properly, deleted unused code from RGB565 test
This commit is contained in:
@@ -184,10 +184,6 @@ TEST_CASE("test_rgb565_operators", "[RGB565]")
|
||||
|
||||
rgb1 -= delta;
|
||||
|
||||
uint8_t r = rgb1.GetR();
|
||||
uint8_t g = rgb1.GetG();
|
||||
uint8_t b = rgb1.GetB();
|
||||
|
||||
REQUIRE(rgb1.GetR() == 82);
|
||||
REQUIRE(rgb1.GetG() == 24);
|
||||
REQUIRE(rgb1.GetB() == 0); // Expect to clamp here
|
||||
|
||||
Reference in New Issue
Block a user