apple2js/test/js/formats
Ian Flanigan c9b7987c4c
Fix 2mg header parsing and add tests (#127)
Before, the offset for `FLAGS` in `2mg.ts` was `0x0A`, which is
incorrect according to the spec at:

https://apple2.org.za/gswv/a2zine/Docs/DiskImage_2MG_Info.txt

Now, all of the fields in the 2mg header are described, including
their lengths and any constraints.  These constraints are enforced by
`read2MGHeader` and tested by new tests.
2022-06-06 18:10:06 -07:00
..
testdata Fix 2mg header parsing and add tests (#127) 2022-06-06 18:10:06 -07:00
2mg.spec.ts Fix 2mg header parsing and add tests (#127) 2022-06-06 18:10:06 -07:00
create_disk.spec.ts Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00
d13.spec.ts Enforce strict equality (#115) 2022-05-18 08:19:45 -07:00
do.spec.ts Enforce strict equality (#115) 2022-05-18 08:19:45 -07:00
po.spec.ts Enforce strict equality (#115) 2022-05-18 08:19:45 -07:00
util.spec.ts fix test typing 2021-02-07 21:54:11 -08:00
util.ts Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00
woz.spec.ts Add the recommended eslint plugins for TypeScript (#121) 2022-05-31 08:38:40 -07:00