diff options
author | Bryan Bishop <kanzure@gmail.com> | 2013-09-22 02:33:02 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2013-09-22 02:33:02 -0500 |
commit | 7d3994ae753d3fa208401afbab6678328d6ecc8e (patch) | |
tree | 37d045853195b3457aa2515dd8d7122e4a2840ce /tests/test_vba.py | |
parent | 57dc8c4fd0b14e4cca190061c47993e1231a931d (diff) |
test that the current map is correct
Diffstat (limited to 'tests/test_vba.py')
-rw-r--r-- | tests/test_vba.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/test_vba.py b/tests/test_vba.py index 5098a7d..9f7b8f1 100644 --- a/tests/test_vba.py +++ b/tests/test_vba.py @@ -162,9 +162,12 @@ class VbaTests(unittest.TestCase): runner.cry.move("d") second_map_y = self.get_wram_value("MapY") + # check that the player has moved self.assertNotEqual(first_map_y, second_map_y) - # TODO: test the current map id against what it should be + # check that the map is correct + self.assertEqual(self.get_wram_value("MapGroup"), 24) + self.assertEqual(self.get_wram_value("MapNumber"), 4) if __name__ == "__main__": unittest.main() |