// @test fixture: every test passes (exits without aborting). @test fn check_add() void = { let a: i32 = 2; let b: i32 = 3; let c: i32 = a + b; if (c != 5) { let _: i32 = 1 / 0; // abort via div-by-zero would also work }; }; @test fn check_match() void = { let r: (i32 | str) = 7; let v: i32 = match (r) { case let n: i32 => yield n; case let s: str => yield 0; }; if (v != 7) { let _: i32 = 1 / 0; }; };