chore: support for ROM unit testing
Created infrastructure that allows the usage of the serial device to capture the result of the tests. Then the test is executed agains a pre-defined number of cycles and the result is compared against expectation.
Showing
- frontends/sdl/src/main.rs 8 additions, 2 deletionsfrontends/sdl/src/main.rs
- src/devices/buffer.rs 62 additions, 0 deletionssrc/devices/buffer.rs
- src/devices/mod.rs 1 addition, 0 deletionssrc/devices/mod.rs
- src/devices/printer.rs 4 additions, 0 deletionssrc/devices/printer.rs
- src/devices/stdout.rs 6 additions, 2 deletionssrc/devices/stdout.rs
- src/gb.rs 3 additions, 2 deletionssrc/gb.rs
- src/lib.rs 1 addition, 0 deletionssrc/lib.rs
- src/serial.rs 12 additions, 0 deletionssrc/serial.rs
- src/test.rs 53 additions, 0 deletionssrc/test.rs
Loading
Please register or sign in to comment