Exemplo n.º 1
0
 def test_equal_2(self):
     self.assertEqual(string_to_array('CodeWars'), ['CodeWars'])
Exemplo n.º 2
0
 def test_equal_5(self):
     self.assertEqual(string_to_array(''), [''])
Exemplo n.º 3
0
 def test_equal_1(self):
     self.assertEqual(string_to_array('Robin Singh'), ['Robin', 'Singh'])
Exemplo n.º 4
0
 def test_equal_3(self):
     self.assertEqual(
         string_to_array('I love arrays they are my favorite'),
         ['I', 'love', 'arrays', 'they', 'are', 'my', 'favorite'])
Exemplo n.º 5
0
 def test_equal_4(self):
     self.assertEqual(string_to_array('1 2 3'), ['1', '2', '3'])
 def test_equal_2(self):
     self.assertEqual(string_to_array('CodeWars'), ['CodeWars'])
 def test_equal_1(self):
     self.assertEqual(string_to_array('Robin Singh'), ['Robin', 'Singh'])
 def test_equal_5(self):
     self.assertEqual(string_to_array(''), [''])
 def test_equal_4(self):
     self.assertEqual(string_to_array('1 2 3'), ['1', '2', '3'])
 def test_equal_3(self):
     self.assertEqual(string_to_array('I love arrays they are my favorite'),
                      ['I', 'love', 'arrays', 'they', 'are', 'my',
                       'favorite'])