Adds a test function like g_test_add_func(), but runs test_func from a
Dex.Fiber. The calling thread is given a thread-default
Dex.Scheduler if it does not already have one, allowing tests to use
dex_await() and related APIs directly.
After test_func completes, the scheduler's main context is iterated until no
immediately pending sources remain.
Adds a test function like
g_test_add_func(), but runstest_funcfrom a Dex.Fiber. The calling thread is given a thread-default Dex.Scheduler if it does not already have one, allowing tests to usedex_await()and related APIs directly.After
test_funccompletes, the scheduler's main context is iterated until no immediately pending sources remain.