Permalink
Browse files

Fix tests

  • Loading branch information...
1 parent 8586c5b commit 4ac424749009f4260b9e77607f00f0fd65d31eb6 @scottferg committed Oct 6, 2012
Showing with 14 additions and 14 deletions.
  1. +14 −14 mmc1_test.go
View
@@ -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()
@@ -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()

0 comments on commit 4ac4247

Please sign in to comment.