test_parse_text_engine_script_at

This commit is contained in:
Bryan Bishop 2012-03-25 01:43:42 -05:00
parent 12fc29529a
commit a4b19fe60a

View File

@ -5369,6 +5369,10 @@ class TestEncodedText(unittest.TestCase):
self.assertIn("encyclopedia", oakspeech)
self.assertIn("researcher", oakspeech)
self.assertIn("dependable", oakspeech)
def test_parse_text_engine_script_at(self):
p = parse_text_engine_script_at(0x197185, debug=False)
self.assertEqual(len(p), 2)
self.assertEqual(len(p[0]["lines"]), 41)
#don't really care about these other two
def test_parse_text_from_bytes(self): pass
def test_parse_text_at(self): pass