コード例 #1
0
 def test_equals_8(self):
     self.assertEqual(
         solution('This sentence has two words, not one word.'), 2
     )
コード例 #2
0
 def test_equals_6(self):
     self.assertEqual(
         solution('When you in order to do something by a wrong way, your'
                  ' heart will missed somewhere.'), 2
     )
コード例 #3
0
 def test_equals_7(self):
     self.assertEqual(solution('This sentence has one word.'), 1)
コード例 #4
0
 def test_equals_4(self):
     self.assertEqual(solution('My cat waiting for a dog.'), 1)
コード例 #5
0
 def test_equals_5(self):
     self.assertEqual(
         solution('We often read book, a word hidden in the book.'), 2
     )
コード例 #6
0
 def test_equals(self):
     self.assertEqual(solution('word'), 1)
コード例 #7
0
 def test_equals_4(self):
     self.assertEqual(solution('My cat waiting for a dog.'), 1)
コード例 #8
0
 def test_equals_10(self):
     self.assertEqual(solution('Can you find more word for me?'), 1)
コード例 #9
0
 def test_equals(self):
     self.assertEqual(solution('word'), 1)
コード例 #10
0
 def test_equals_8(self):
     self.assertEqual(
         solution('This sentence has two words, not one word.'), 2)
コード例 #11
0
 def test_equals_9(self):
     self.assertEqual(solution('One word + one word = three words -)'), 3)
コード例 #12
0
 def test_equals_7(self):
     self.assertEqual(solution('This sentence has one word.'), 1)
コード例 #13
0
 def test_equals_6(self):
     self.assertEqual(
         solution('When you in order to do something by a wrong way, your'
                  ' heart will missed somewhere.'), 2)
コード例 #14
0
 def test_equals_5(self):
     self.assertEqual(
         solution('We often read book, a word hidden in the book.'), 2)
コード例 #15
0
 def test_equals_9(self):
     self.assertEqual(
         solution('One word + one word = three words -)'), 3
     )
コード例 #16
0
 def test_equals_2(self):
     self.assertEqual(solution('hello world'), 1)
コード例 #17
0
 def test_equals_10(self):
     self.assertEqual(solution('Can you find more word for me?'), 1)
コード例 #18
0
 def test_equals_3(self):
     self.assertEqual(solution('I love codewars.'), 0)
コード例 #19
0
 def test_equals_2(self):
     self.assertEqual(solution('hello world'), 1)
コード例 #20
0
 def test_equals_3(self):
     self.assertEqual(solution('I love codewars.'), 0)