blob: 79dedf65187c0c3165a8e055f35ca1742c5a7952 [file] [log] [blame]
#include "glog/logging.h"
#include "gtest/gtest.h"
#include "aos/json_to_flatbuffer.h"
#include "y2024/constants/constants_list_generated.h"
namespace y2024::constants::testing {
class ConstantsValidatorTest : public ::testing::Test {};
TEST_F(ConstantsValidatorTest, CheckConstants) {
ASSERT_TRUE(aos::JsonFileToFlatbuffer<y2024::ConstantsList>(
"y2024/constants/constants.json")
.message()
.constants() != nullptr)
<< ": Failed to parse y2024/constants/constants.json";
}
} // namespace y2024::constants::testing