Skip to content

Commit

Permalink
Another two simple test cases to illustrate what _Align is supposed t…
Browse files Browse the repository at this point in the history
…o do.
  • Loading branch information
shreevatsa committed Nov 1, 2016
1 parent eaa1e93 commit 724496a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions display_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ def testKnown(self):
('-hello', 'ohell-'))
self.assertEqual(display._Align('abcdabcd', 'abcd'),
('abcdabcd', 'abcd----'))
self.assertEqual(display._Align('abcab', 'acb'),
('abcab', 'a-c-b'))
self.assertEqual(display._Align('abcab', 'acbd'),
('abcab-', 'a-c-bd'))


if __name__ == '__main__':
Expand Down

0 comments on commit 724496a

Please sign in to comment.