diff options
author | Bryan Bishop <kanzure@gmail.com> | 2012-04-02 20:27:11 -0500 |
---|---|---|
committer | Bryan Bishop <kanzure@gmail.com> | 2012-04-02 20:27:11 -0500 |
commit | 4d8bc37019958c31e53240c9dfa4b3fecfc5599d (patch) | |
tree | 692dd736b3c2cbe44bec32cb0fdbaf1c8af8a1b0 | |
parent | ed9cdf971a4e4e4dc13e93bfe288a8f340d025da (diff) |
map header tests for event addresses and people-event counts
original-commit-id: 0e8510e3c2ca44102d30f7c3acdbd4cfacc09834
-rw-r--r-- | crystal.py | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -6764,6 +6764,12 @@ class TestPostParsing(unittest.TestCase): def test_second_map_header_address(self): self.assertEqual(map_names[11][1]["second_map_header_address"], 0x9509c) self.assertEqual(map_names[1][5]["second_map_header_address"], 0x95bd0) + def test_event_address(self): + self.assertEqual(map_names[17][5]["event_address"], 0x194d67) + self.assertEqual(map_names[23][3]["event_address"], 0x1a9ec9) + def test_people_event_counts(self): + self.assertEqual(len(map_names[23][3]["people_events"]), 4) + self.assertEqual(len(map_names[10][3]["people_events"]), 9) class TestMetaTesting(unittest.TestCase): """test whether or not i am finding at least some of the tests in this file""" |