Skip to content

Commit cae3239

Browse files
authored
chore: restore components length test (#175)
1 parent f296082 commit cae3239

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tests/serialize/serialize_test.cc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,10 @@ TEST(EntityRestore, ExecutionOptions) {
459459
auto exec_err =
460460
ecsact_execute_systems(vars_ptr->reg_id, 1, &exec_options, nullptr);
461461

462+
EXPECT_EQ(exec_options.create_entities_length, 2);
463+
EXPECT_GE(exec_options.create_entities_components_length[0], 1);
464+
EXPECT_GE(exec_options.create_entities_components_length[1], 1);
465+
462466
ASSERT_EQ(exec_err, ECSACT_EXEC_SYS_OK);
463467
},
464468
&vars

0 commit comments

Comments
 (0)