Trouv / bevy_ecs_ldtk

ECS-friendly ldtk plugin for bevy, leveraging bevy_ecs_tilemap
Other
630 stars 74 forks source link

test: use faker types instead of sample_levels helper in RawLevelAccessor and LdtkProject tests #241

Closed Trouv closed 9 months ago

Trouv commented 9 months ago

A recent PR added fakers for the LDtk types. LevelMetadataAccessor tests were updated to use these faker types, but I mistakenly forgot to add the updates to the RawLevelAccessor tests. This PR adds those update, which allows us to delete RawLevelAccessor::tests::sample_levels.

The LdtkProject test also is updated for this, even though it won't really be exist in this form for very long.

(Ignore broken doc-links here, they will no longer be broken in future PRs)