Add unit tests

Yay tests!
This commit is contained in:
Chris Thrasher committed 2024-04-15 15:24:51 -06:00
1 parent 36c234fd90
commit 330b423ee9
10 files changed
+166 -7

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
#include <SFML/System/Vector3.h>
#include <catch2/catch_test_macros.hpp>
TEST_CASE("[System] sfVector3")
{
SECTION("sfVector3f")
{
const sfVector3f vector{};
CHECK(vector.x == 0);
CHECK(vector.y == 0);
}
}