stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

3h 6m 57s logged

unit tests (& some fixes)

uhhhh started adding actual unit tests… i was kinda putting it off but i gotta have it…

set up GoogleTest + CTest and started covering some stuff

  • ECS registry / generational IDs
  • entity UUIDs
  • entity serialization
  • hierarchy / parenting
  • collision events + movement blocking
  • save games
  • maps

bugs bugs bugs…

and unsurprisingly, writing tests immediately started exposing some smaller issues.

fixed stale entity handles being able to mess with components belonging to a recycled entity slot, and cleaned up some hierarchy transform / rotation handling that wasn’t preserving transforms correctly in certain parenting cases.

also tightened up a couple math helpers while testing them.

im still gonna write even more tests.. its very needed at this point and will prolly help me find some more bugs i missed before…

0
51

Comments 0

No comments yet. Be the first!