11 #include <gtest/gtest.h>
13 namespace etrobocon2018_test {
19 void setMockRgb(std::uint16_t r, std::uint16_t g, std::uint16_t b)
28 setMockRgb(128, 158, 93);
29 Color result = d.getColor();
36 Color result = d.getColor();
42 setMockRgb(14, 19, 5);
43 Color result = d.getColor();
void setMockRgb(std::uint16_t r, std::uint16_t g, std::uint16_t b)
走行体のカラーセンサを用いて、RGB情報より色を推定するクラス。
TEST_F(BlockStrategyTest, createColorBlockPlace)
void setMockRgb(std::uint16_t r, std::uint16_t g, std::uint16_t b)
走行体のカラーセンサを用いて、RGB情報より色を推定するクラス。