Maxwell Henderson | 6a929ff | 2024-01-14 20:03:59 -0800 | [diff] [blame] | 1 | #include "glog/logging.h" |
| 2 | #include "gtest/gtest.h" |
| 3 | |
| 4 | #include "aos/json_to_flatbuffer.h" |
| 5 | #include "y2024/constants/constants_list_generated.h" |
| 6 | |
| 7 | namespace y2024 { |
| 8 | namespace constants { |
| 9 | namespace testing { |
| 10 | class ConstantsValidatorTest : public ::testing::Test {}; |
| 11 | |
| 12 | TEST_F(ConstantsValidatorTest, CheckConstants) { |
| 13 | CHECK_NOTNULL(aos::JsonFileToFlatbuffer<y2024::ConstantsList>( |
| 14 | "y2024/constants/constants.json") |
| 15 | .message() |
| 16 | .constants()); |
| 17 | } |
| 18 | |
| 19 | } // namespace testing |
| 20 | } // namespace constants |
| 21 | } // namespace y2024 |