blob: 238bfc38e90a7aa4abc2f6f331a1046cda657d2e [file] [log] [blame]
Maxwell Henderson6a929ff2024-01-14 20:03:59 -08001#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
7namespace y2024 {
8namespace constants {
9namespace testing {
10class ConstantsValidatorTest : public ::testing::Test {};
11
12TEST_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