mirror of
https://github.com/mnaberez/py65.git
synced 2025-01-16 18:33:00 +00:00
Add test for help_radix()
This commit is contained in:
parent
c333cdf1dd
commit
6854fb9b3e
@ -670,6 +670,13 @@ class MonitorTests(unittest.TestCase):
|
||||
out = stdout.getvalue()
|
||||
self.assertTrue(out.startswith('radix'))
|
||||
|
||||
def test_help_radix(self):
|
||||
stdout = StringIO()
|
||||
mon = Monitor(stdout=stdout)
|
||||
mon.help_radix()
|
||||
out = stdout.getvalue()
|
||||
self.assertTrue(out.startswith("radix [H|D|O|B]"))
|
||||
|
||||
# registers
|
||||
|
||||
def test_shortcut_for_registers(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user