Example #1
0
    def test_decode_second_sprite(self):
        channelA = self.bin[16:24]
        channelB = self.bin[24:32]

        s2 = sprite.decode_sprite(channelA, channelB)
        self.assertEquals(self.mario2, s2)
Example #2
0
 def test_decode_first_sprite(self):
     channelA = self.bin[0:8]
     channelB = self.bin[8:16]
     s1 = sprite.decode_sprite(channelA, channelB)
     self.assertEquals(self.mario1, s1)