Make sure only 1 guy was triggered here
This commit is contained in:
parent
fc310e12ff
commit
c082cc622f
1 changed files with 3 additions and 0 deletions
|
@ -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<C0>(e0).value == 1);
|
||||
REQUIRE(w.get<C1>(e0).value == 11);
|
||||
|
||||
|
|
Loading…
Reference in a new issue