示例#1
0
 def test_arr_to_str_with_sep(self):
     ret = converter.arr_to_str(['a bc', 112], '|')
     self.assertEqual('a bc|112', ret)
示例#2
0
 def test_arr_to_str(self):
     ret = converter.arr_to_str([5, -12, 7.21])
     self.assertEqual('5,-12,7.21', ret)
示例#3
0
 def test_arr_to_str_with_sep(self):
     ret = converter.arr_to_str(['a bc', 112], '|')
     assert_that(ret, equal_to('a bc|112'))
示例#4
0
 def test_arr_to_str(self):
     ret = converter.arr_to_str([5, -12, 7.21])
     assert_that(ret, equal_to('5,-12,7.21'))
示例#5
0
 def test_arr_to_str_with_sep(self):
     ret = converter.arr_to_str(['a bc', 112], '|')
     self.assertEqual('a bc|112', ret)
示例#6
0
 def test_arr_to_str(self):
     ret = converter.arr_to_str([5, -12, 7.21])
     self.assertEqual('5,-12,7.21', ret)