// Generated by Lisette bindgen
// Source: testing/synctest (Go stdlib)
// Go: 1.25.5
// Lisette: 0.1.12
import "go:testing"
/// Test executes f in a new bubble.
///
/// Test waits for all goroutines in the bubble to exit before returning.
/// If the goroutines in the bubble become deadlocked, the test fails.
///
/// Test must not be called from within a bubble.
///
/// The [*testing.T] provided to f has the following properties:
///
/// - T.Cleanup functions run inside the bubble,
/// immediately before Test returns.
/// - T.Context returns a [context.Context] with a Done channel
/// associated with the bubble.
/// - T.Run, T.Parallel, and T.Deadline must not be called.
pub fn Test(t: Ref<testing.T>, f: fn(Ref<testing.T>) -> ())
/// Wait blocks until every goroutine within the current bubble,
/// other than the current goroutine, is durably blocked.
///
/// Wait must not be called from outside a bubble.
/// Wait must not be called concurrently by multiple goroutines
/// in the same bubble.
pub fn Wait()