rzumer / dez80

A Z80 instruction decoding and (dis)assembly library.
MIT License
4 stars 1 forks source link

Add integration test validating all instructions #3

Closed rzumer closed 5 years ago

rzumer commented 5 years ago

Basically feed a stream of raw bytes that should decode to at least one instance of every instruction.

All members of decoded instructions should be tested.

rzumer commented 5 years ago

The integration test introduced in https://github.com/rzumer/dez80/commit/08e0ec0ed4ad40e927ad8f768a4e90d1839d2f17 fulfills this. Actually, not every single instruction is tested; some undocumented ones that are out of scope for many assemblers are excluded. For the remaining untested instructions, a second regression test stream will be created for any error that may be encountered upon further use.