コード例 #1
0
ファイル: test.py プロジェクト: xxd3vin/performance
    def test3(self):
        result = xxutils.xxstrip("""abc
def
ghi""")
        #print result
        self.assertTrue(result == "abcdefghi")
コード例 #2
0
ファイル: test.py プロジェクト: xxd3vin/performance
 def test2(self):
     result = xxutils.xxstrip(" a b c ")
     #print result
     self.assertTrue(result == "abc")