[datalog] Translate unit tests to catch2 (#9002)

This commit is contained in:
Peter Johnson
2026-06-21 13:51:49 -07:00
committed by GitHub
parent 3d6df4a50e
commit 7dcb70cfcd
6 changed files with 247 additions and 214 deletions

View File

@@ -2,10 +2,8 @@
// Open Source Software; you can modify and/or share it under the terms of
// the WPILib BSD license file in the root directory of this project.
#include <gtest/gtest.h>
#include <catch2/catch_session.hpp>
int main(int argc, char** argv) {
::testing::InitGoogleTest(&argc, argv);
int ret = RUN_ALL_TESTS();
return ret;
return Catch::Session().run(argc, argv);
}