Skip to content

Commit

Permalink
Fixed tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
genaray committed Oct 1, 2023
1 parent b21b4ec commit 7c3dd38
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Arch.Tests/QueryTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ public void GeneratedQueryTest()
}

var queryCount = 0;
_world.Query(in _withoutAiQuery, (in Entity entity, ref Transform t) => queryCount++);
_world.Query(in _withoutAiQuery, (Entity entity, ref Transform t) => queryCount++);

var otherQueryCount = 0;
_world.Query(in _allQuery, (ref Rotation rot) => otherQueryCount++);
Expand All @@ -183,7 +183,7 @@ public void GeneratedParallelQueryTest()
}

var queryCount = 0;
_world.ParallelQuery(in _withoutAiQuery, (in Entity entity, ref Transform t) => Interlocked.Increment(ref queryCount));
_world.ParallelQuery(in _withoutAiQuery, (Entity entity, ref Transform t) => Interlocked.Increment(ref queryCount));

var otherQueryCount = 0;
_world.ParallelQuery(in _allQuery, (ref Rotation rot) => Interlocked.Increment(ref otherQueryCount));
Expand Down

0 comments on commit 7c3dd38

Please sign in to comment.