mirror of
https://github.com/mnaberez/py65.git
synced 2025-04-06 20:37:18 +00:00
Fix duplicate tests
This commit is contained in:
parent
ab4688c64c
commit
ef9621682f
@ -175,9 +175,6 @@ class AssemblerTests(unittest.TestCase):
|
||||
self.assertEqual([0x26, 0x44],
|
||||
self.assemble('ROL $44'))
|
||||
|
||||
def dont_test_assembles_23(self):
|
||||
pass
|
||||
|
||||
def dont_test_assembles_27(self):
|
||||
pass
|
||||
|
||||
@ -490,11 +487,6 @@ class AssemblerTests(unittest.TestCase):
|
||||
self.assertEqual([0x7c, 0x34, 0x12],
|
||||
self.assemble('JMP ($1234,X)', 0x0000, mpu))
|
||||
|
||||
def test_assembles_07_65c02(self):
|
||||
mpu = MPU65C02()
|
||||
self.assertEqual([0x07, 0x42],
|
||||
self.assemble('RMB0 $42', 0x0000, mpu))
|
||||
|
||||
def test_assembles_7d(self):
|
||||
self.assertEqual([0x7d, 0x00, 0x44],
|
||||
self.assemble('ADC $4400,X'))
|
||||
@ -650,7 +642,7 @@ class AssemblerTests(unittest.TestCase):
|
||||
def dont_test_assembles_a7(self):
|
||||
pass
|
||||
|
||||
def test_assembles_a9(self):
|
||||
def test_assembles_a8(self):
|
||||
self.assertEqual([0xa8],
|
||||
self.assemble('TAY'))
|
||||
|
||||
|
@ -378,16 +378,6 @@ class MonitorTests(unittest.TestCase):
|
||||
out = stdout.getvalue()
|
||||
self.assertTrue(out.startswith('Wrote +1 bytes from $c000 to $c000'))
|
||||
|
||||
def test_do_fill_will_fill_one_address(self):
|
||||
stdout = StringIO()
|
||||
mon = Monitor(stdout=stdout)
|
||||
mon._mpu.memory[0xc000] = 0x00
|
||||
mon.do_fill('c000 aa')
|
||||
|
||||
self.assertEqual(0xAA, mon._mpu.memory[0xc000])
|
||||
out = stdout.getvalue()
|
||||
self.assertTrue(out.startswith('Wrote +1 bytes from $c000 to $c000'))
|
||||
|
||||
def test_do_fill_will_fill_an_address_range_with_a_single_byte(self):
|
||||
stdout = StringIO()
|
||||
mon = Monitor(stdout=stdout)
|
||||
|
Loading…
x
Reference in New Issue
Block a user