Open cyrgani opened 3 months ago
Marking this as a draft as it cannot fix the new error described in https://github.com/not-fl3/macroquad/issues/693#issuecomment-2225224880.
By putting each test function into its own file, they do not reuse any old statics and therefore they succeed. This should be ready to merge now @not-fl3.
This fixes the test failure described in #693 by
wrapping the globalputting each test into its own file so they each get a freshContext
instd::mem::ManuallyDrop
to prevent the compiler from dropping it at the beginning of the second test when overwriting it.Context
.It also adds a missing reference to the doctest of the
animation
module to fix it and removes the failing doctest oftext::Font::set_filter
.Fixes #693.