diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/analysis/routine.py | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/analysis/routine.py b/tests/analysis/routine.py new file mode 100644 index 0000000..da54ee9 --- /dev/null +++ b/tests/analysis/routine.py @@ -0,0 +1,21 @@ +#!/usr/bin/python3 +# -*- coding: utf-8 -*- + + +from chrysacase import ChrysalideTestCase +from pychrysalide.analysis import BinRoutine + + +class TestBinaryRoutines(ChrysalideTestCase): + """TestCase for binary routine.""" + + def testUnicodeName(self): + """Ensure Unicode checks are well performed.""" + + name = 'ABC' + + r = BinRoutine() + + r.name = name + + self.assertEqual(r.name, name) |