[pypy-svn] r54377 - pypy/branch/gameboy-emulator/pypy/lang/gameboy/test

cami at codespeak.net cami at codespeak.net
Sat May 3 17:21:20 CEST 2008


Author: cami
Date: Sat May  3 17:21:20 2008
New Revision: 54377

Modified:
   pypy/branch/gameboy-emulator/pypy/lang/gameboy/test/test_timer.py
Log:
updated timer test to the uniform getCycles() instead of cycles()


Modified: pypy/branch/gameboy-emulator/pypy/lang/gameboy/test/test_timer.py
==============================================================================
--- pypy/branch/gameboy-emulator/pypy/lang/gameboy/test/test_timer.py	(original)
+++ pypy/branch/gameboy-emulator/pypy/lang/gameboy/test/test_timer.py	Sat May  3 17:21:20 2008
@@ -79,11 +79,11 @@
     timer = get_timer()
     value = 10
     timer.dividerCycles = value
-    assert timer.cycles() == timer.dividerCycles
+    assert timer.getCycles() == timer.dividerCycles
     timer.tac = 0x04
     timer.timerCycles = value-1
     timer.timerCycles = value
-    assert timer.cycles() == timer.timerCycles
+    assert timer.getCycles() == timer.timerCycles
     
 def test_emulateDivider_normal():
     timer = get_timer()



More information about the Pypy-commit mailing list