diff options
| author | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-07 22:59:06 -0400 |
|---|---|---|
| committer | Ralph Amissah <ralph.amissah@gmail.com> | 2026-09-09 17:47:54 -0400 |
| commit | 3ebec9563c035de976a7d57974f94be2d8bef83e (patch) | |
| tree | 22d973da98ae5f7367c17e4f4062ad380accdbbf /org/ocda.org | |
| parent | run abstraction test re-generate reference .ssp (diff) | |
test: .ssp round trip script beside the other two
Reads each committed reference .ssp back into the abstraction, emits
it again, and requires byte identity. Both directions go through
template sspObjectRecord, the writer's own definition of a record, so
what is being checked is the reader against the writer and not against
a second description of the format.
./test/test-abstraction-ssp-roundtrip.sh ./bin/spine-ldc
PASS: all 35 .ssp files read back and re-emit byte identically
It needs no sample documents and no output directory; the reference
set is the input. So the three tests now say three different things:
test-abstraction-ssp.sh the abstraction has not changed
test-abstraction-db.sh the two serialisations agree
test-abstraction-ssp-roundtrip.sh the .ssp can be read back whole
Added with -f, as test/ is covered by .gitignore's catch-all.
(assisted by Claude-Code)
Diffstat (limited to 'org/ocda.org')
0 files changed, 0 insertions, 0 deletions
