Skip to content

Commit 69f62b0

Browse files
Merge pull request #110 from zohassadar/test_nt_tile
Read tile from nametable in tspins test
2 parents 3d410c5 + e434822 commit 69f62b0

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)