예제 #1
0
파일: tests.py 프로젝트: xi/cplay-ng-backup
 def test_left(self):
     s = 'abcdefghijklmnopqrstuvwxyz'
     self.assertEqual(cplay.cut(s, 10, left=True), '<rstuvwxyz')
예제 #2
0
 def test_left(self):
     s = 'abcdefghijklmnopqrstuvwxyz'
     self.assertEqual(cplay.cut(s, 10, left=True), '<rstuvwxyz')
예제 #3
0
파일: tests.py 프로젝트: xi/cplay-ng-backup
 def test_right(self):
     s = 'abcdefghijklmnopqrstuvwxyz'
     self.assertEqual(cplay.cut(s, 10), 'abcdefghi>')
예제 #4
0
 def test_right(self):
     s = 'abcdefghijklmnopqrstuvwxyz'
     self.assertEqual(cplay.cut(s, 10), 'abcdefghi>')