Skip to content

Commit d701984

Browse files
committed
Merge branch 'master' of github.com:kirjavascript/TetrisGYM
2 parents 22984a9 + 69f62b0 commit d701984

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/src/tspins.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ pub fn test() {
3333
##########
3434
"##.trim(), playfield::get_str(&emu).trim());
3535

36+
// check that correct tile is rendered
37+
assert_eq!(emu.ppu.read_byte(&mut *emu.mapper, 0x22CC), 0x7b);
3638
// check pixel is actually rendered
3739
assert_eq!(emu.ppu.screen[offset(96, 176) as usize], 0x30);
3840
}

0 commit comments

Comments
 (0)