summaryrefslogtreecommitdiff
path: root/crystal.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-03-25 01:43:42 -0500
committerBryan Bishop <kanzure@gmail.com>2012-03-25 01:43:42 -0500
commit2f12cf80301542ff39ab7fcdd3ed1684c0c2edae (patch)
tree01416a8d5575fdd5d2a0229c0b96057df22f9e9d /crystal.py
parentf63b96191836d63dd6ff7144ea7898695cd0d446 (diff)
test_parse_text_engine_script_at
original-commit-id: a4b19fe60ad2044ec1eb3f51e912782dd25adba9
Diffstat (limited to 'crystal.py')
-rw-r--r--crystal.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/crystal.py b/crystal.py
index 7d11a6e..243cc8e 100644
--- a/crystal.py
+++ b/crystal.py
@@ -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