Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
scottferg committed Oct 6, 2012
1 parent 8586c5b commit 4ac4247
Showing 1 changed file with 14 additions and 14 deletions.
28 changes: 14 additions & 14 deletions mmc1_test.go
Expand Up @@ -16,13 +16,13 @@ func verifyMirroredValue(a int, v Word, test *testing.T) {

func TestVerticalToHorizontal(test *testing.T) {
rom = &Mmc1{
RomBanks: make([][]Word, 16),
VromBanks: make([][]Word, 16),
PrgBankCount: 8,
ChrRomCount: 8,
BatteryBacked: false,
Data: make([]byte, 32),
PrgSwapBank: BankLower,
RomBanks: make([][]Word, 16),
VromBanks: make([][]Word, 16),
PrgBankCount: 8,
ChrRomCount: 8,
Battery: false,
Data: make([]byte, 32),
PrgSwapBank: BankLower,
}

ppu.Init()
Expand Down Expand Up @@ -99,13 +99,13 @@ func TestVerticalToHorizontal(test *testing.T) {

func TestHorizontalToVertical(test *testing.T) {
rom = &Mmc1{
RomBanks: make([][]Word, 16),
VromBanks: make([][]Word, 16),
PrgBankCount: 8,
ChrRomCount: 8,
BatteryBacked: false,
Data: make([]byte, 32),
PrgSwapBank: BankLower,
RomBanks: make([][]Word, 16),
VromBanks: make([][]Word, 16),
PrgBankCount: 8,
ChrRomCount: 8,
Battery: false,
Data: make([]byte, 32),
PrgSwapBank: BankLower,
}

ppu.Init()
Expand Down

0 comments on commit 4ac4247

Please sign in to comment.