Mercurial > hg > TextShaper
comparison tests/test_split.py @ 49:643c8e92e71e
wip
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sat, 16 May 2015 20:13:12 -0700 |
parents | 03ce88daa98d |
children | 1284c99a94fa |
comparison
equal
deleted
inserted
replaced
48:03ce88daa98d | 49:643c8e92e71e |
---|---|
13 class SplitUnitTest(unittest.TestCase): | 13 class SplitUnitTest(unittest.TestCase): |
14 | 14 |
15 def test_findall(self): | 15 def test_findall(self): |
16 """test basic""" | 16 """test basic""" |
17 | 17 |
18 # 012345678901 | |
19 string = 'a cat, a bat' | |
18 | 20 |
21 retval = split.findall(string, 'a') | |
22 | |
19 if __name__ == '__main__': | 23 if __name__ == '__main__': |
20 unittest.main() | 24 unittest.main() |
21 | 25 |