Initial commit

This commit is contained in:
2026-08-04 18:05:30 +03:00
parent 4b39a660e8
commit 09ae813c76
15 changed files with 96 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
add_executable(Stun_tests
test_stun.cxx
)
target_link_libraries(Stun_tests
PRIVATE
Stun
Catch2::Catch2WithMain
)
catch_discover_tests(Stun_tests)
+6
View File
@@ -0,0 +1,6 @@
#include <catch2/catch_test_macros.hpp>
#include <stun/stun.hxx>
TEST_CASE("add_numbers works", "[stun]") {
SECTION("adding 1 to 2") { REQUIRE(stun::add_numbers(1, 2) == 3); }
}