test: group examples into per-category folders
Move examples/*.sx and their expected/ snapshots into per-category subfolders (examples/<category>/...). Folder = leading filename token, with ffi-objc/ffi-jni kept whole; filenames are unchanged. The corpus runner and LSP sweep now discover each category's expected/ dir, while issues/ stays flat. Example 1058's repo-root-relative companion import is made file-relative. Path strings embedded in 164 snapshots were regenerated (path-only changes). Test-layout docs in CLAUDE.md updated.
This commit is contained in:
13
examples/ffi/expected/1209-ffi-01-primitives.stdout
Normal file
13
examples/ffi/expected/1209-ffi-01-primitives.stdout
Normal file
@@ -0,0 +1,13 @@
|
||||
ffi_id_int(-42) = -42
|
||||
ffi_id_short(-1234) = -1234
|
||||
ffi_id_i64(huge) = 9000000000000000000
|
||||
ffi_id_uint(0xDEADBEEF) = 3735928559
|
||||
ffi_id_ushort(0xFFFF) = 65535
|
||||
ffi_id_u64(0x7FEE...) = 9218551421072305134
|
||||
ffi_id_schar(127) = 127
|
||||
ffi_id_uchar(255) = 255
|
||||
ffi_id_f32(3.5) = 3.500000
|
||||
ffi_id_f64(1.5) = 1.500000
|
||||
ffi_id_ptr roundtrip = true
|
||||
ffi_add_int(7, 8) = 15
|
||||
ffi_add_double(0.25, 0.75) = 1.000000
|
||||
Reference in New Issue
Block a user