Add a constants json validator test
Signed-off-by: Maxwell Henderson <mxwhenderson@gmail.com>
Change-Id: I8cf210b8a4d6962a8a65bdcc56f0c29896f4c2ea
diff --git a/y2024/constants/BUILD b/y2024/constants/BUILD
index 1e8faa4..73e92f0 100644
--- a/y2024/constants/BUILD
+++ b/y2024/constants/BUILD
@@ -76,3 +76,16 @@
"//frc971/constants:constants_sender_lib",
],
)
+
+cc_test(
+ name = "constants_validator_test",
+ srcs = ["constants_validator_test.cc"],
+ data = [":constants.json"],
+ visibility = ["//visibility:public"],
+ deps = [
+ ":constants_list_fbs",
+ "//aos:json_to_flatbuffer",
+ "//aos/testing:googletest",
+ "@com_github_google_glog//:glog",
+ ],
+)