[upstream_utils] Add Catch2 (#8203)

This commit is contained in:
Gold856
2025-09-08 17:14:23 -04:00
committed by GitHub
parent e8490eb242
commit 5cd97c6353
308 changed files with 29755 additions and 34 deletions

View File

@@ -0,0 +1,9 @@
// Copyright (c) FIRST and other WPILib contributors.
// 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 <catch2/catch_test_macros.hpp>
TEST_CASE("1 is 1", "[catch2]") {
REQUIRE(1 == 1);
}

View File

@@ -0,0 +1,9 @@
// Copyright (c) FIRST and other WPILib contributors.
// 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 <catch2/catch_session.hpp>
int main(int argc, char** argv) {
return Catch::Session().run(argc, argv);
}