[pypy-svn] r60215 - pypy/trunk/pypy/lang/gameboy/test
tverwaes at codespeak.net
tverwaes at codespeak.net
Fri Nov 28 20:09:25 CET 2008
Author: tverwaes
Date: Fri Nov 28 20:09:24 2008
New Revision: 60215
Modified:
pypy/trunk/pypy/lang/gameboy/test/test_video_registers.py
Log:
fixing test for first bug of previous commit
Modified: pypy/trunk/pypy/lang/gameboy/test/test_video_registers.py
==============================================================================
--- pypy/trunk/pypy/lang/gameboy/test/test_video_registers.py (original)
+++ pypy/trunk/pypy/lang/gameboy/test/test_video_registers.py Fri Nov 28 20:09:24 2008
@@ -35,10 +35,10 @@
control = get_control_register()
control.window.upper_tile_map_selected = True
- assert control.get_selected_tile_data_space() == constants.VRAM_DATA_A
+ assert control.get_selected_tile_data_space() == constants.VRAM_DATA_B
control.window.upper_tile_map_selected = False
- assert control.get_selected_tile_data_space() == constants.VRAM_DATA_B
+ assert control.get_selected_tile_data_space() == constants.VRAM_DATA_A
# StatusRegister ---------------------------------------------------------------
@@ -116,4 +116,4 @@
status.line_y_compare_flag = True
status.line_y_compare_interrupt = True
- assert not status.line_y_compare_check()
\ No newline at end of file
+ assert not status.line_y_compare_check()
More information about the Pypy-commit
mailing list