mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
Compare commits
2 commits
af13ea9f5f
...
1bfcba7422
Author | SHA1 | Date | |
---|---|---|---|
|
1bfcba7422 | ||
|
c9b07433aa |
2 changed files with 445 additions and 261 deletions
|
@ -1262,7 +1262,7 @@ TEST("world:target", function()
|
|||
|
||||
local records = debug_world_inspect(world).records(e)
|
||||
CHECK(jecs.pair_first(world, pair(B, C)) == B)
|
||||
CHECK(records[pair(B, C)].column > records[pair(A, E)].column)
|
||||
CHECK(records[pair(B, C)] > records[pair(A, E)])
|
||||
CHECK(world:target(e, A, 0) == B)
|
||||
CHECK(world:target(e, A, 1) == C)
|
||||
CHECK(world:target(e, A, 2) == D)
|
||||
|
|
Loading…
Reference in a new issue