kamiyaowl / rust-nes-emulator

NES Emulator written in Rust
MIT License
206 stars 12 forks source link

出力画像を使ったリグレッションテストを準備する #18

Closed kamiyaowl closed 5 years ago

kamiyaowl commented 5 years ago

PPUの動作確認用に、おいてあるbitmapを読み込んで比較すれば良さげ

kamiyaowl commented 5 years ago

いいね

ee:................................................................................................................................................................................................................................................................
ef:................................................................................................................................................................................................................................................................
save framebuffer to framebuffer_run_hello_ppu.bmp
thread 'run_hello_ppu' panicked at 'assertion failed: `(left == right)`
  left: `236`,
 right: `0`', src\main.rs:73:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace.

failures:
    run_hello_ppu

test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out