test: migrate 24 residual carriers into the fixture corpus
Audit-driven migrate-and-retire wave (one read-only auditor per carrier batch, verdicts row-checked through the full corpus gate): every retired carrier's assertions are now owned by declarative fixtures or an existing owner. 238 new fixtures land (corpus 1,239 -> 1,477; cells 2,954), covering enum/str/slice/tagged array elements, inferred-length arrays, global slice/str zero-init and literals, global array/pointer field reads and stores, struct-literal slice fields, struct returns, float arithmetic, size/int limits, sort and log-vstream behavior, place-addressed stores, and append places. Rejection rows STRENGTHEN the old nonzero-exit checks to required diagnostic fragments; all byte-id claims fold into the blanket test-data-byteid sweep (now 1,142 compared, 0 pinned-divergent). Four carriers were fully redundant with existing fixtures/lang tests (749, 722, 765, and 771's byteid rows) and retire without new rows. Native carriers 171 -> 147 (residual 135 -> 111).
This commit is contained in:
16
test/wcc/data/r952_f32bits_roundtrip/case.ww
Normal file
16
test/wcc/data/r952_f32bits_roundtrip/case.ww
Normal file
@@ -0,0 +1,16 @@
|
||||
//ww:run
|
||||
package main;
|
||||
import math;
|
||||
export fn main() i32 = {
|
||||
if (math.f32bits(1.0f32) != 0x3F800000u32) { return 1; };
|
||||
if (math.f32bits(2.0f32) != 0x40000000u32) { return 2; };
|
||||
if (math.f32bits(-1.0f32) != 0xBF800000u32) { return 3; };
|
||||
if (math.f32bits(0.0f32) != 0u32) { return 4; };
|
||||
if (math.f32frombits(0x3F800000u32) != 1.0f32) { return 5; };
|
||||
if (math.f32frombits(0x40000000u32) != 2.0f32) { return 6; };
|
||||
if (math.f32frombits(0xBF800000u32) != -1.0f32) { return 7; };
|
||||
if (math.f32frombits(0u32) != 0.0f32) { return 8; };
|
||||
let v: f32 = 123456.0f32;
|
||||
if (math.f32frombits(math.f32bits(v)) != v) { return 9; };
|
||||
return 0;
|
||||
};
|
||||
Reference in New Issue
Block a user