From c082cc622f34084f578ea6660fd2732e2f2addcf Mon Sep 17 00:00:00 2001 From: NukeBird Date: Sat, 15 Feb 2025 22:45:52 +0300 Subject: [PATCH] Make sure only 1 guy was triggered here --- tests/zecsy.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/zecsy.cpp b/tests/zecsy.cpp index 5198738..77b3aaa 100644 --- a/tests/zecsy.cpp +++ b/tests/zecsy.cpp @@ -226,8 +226,11 @@ TEST_CASE("Test a systems ability to query and process only entities with a spec { c0.value++; c1.value++; + count++; }); + REQUIRE(count == 1); + REQUIRE(w.get(e0).value == 1); REQUIRE(w.get(e0).value == 11);