Пример #1
0
 def test_provided_2(self):
     self.assertEqual(True, solution('This is good, is'))
Пример #2
0
 def test_anything(self):
     self.assertEqual(True, solution('Hello,*'))
Пример #3
0
 def test_provided_2(self):
     self.assertEqual(True, solution('This is good, is'))
Пример #4
0
 def test_escape_plus_neg(self):
     self.assertEqual(False, solution('Star,*k'))
Пример #5
0
 def test_escape_missing(self):
     self.assertEqual(False, solution('A star,\*'))
Пример #6
0
 def test_escape_beg(self):
     self.assertEqual(True, solution('* is star,\*'))
Пример #7
0
 def test_escape_mid(self):
     self.assertEqual(True, solution('a *!,\*'))
Пример #8
0
 def test_escape_plus(self):
     self.assertEqual(True, solution('Star,*r'))
Пример #9
0
 def test_escape_plus_neg(self):
     self.assertEqual(False, solution('Star,*k'))
Пример #10
0
 def test_escape_end(self):
     self.assertEqual(True, solution('little *,\*'))
Пример #11
0
 def test_escape_mid(self):
     self.assertEqual(True, solution('a *!,\*'))
Пример #12
0
 def test_escape_beg(self):
     self.assertEqual(True, solution('* is star,\*'))
Пример #13
0
 def test_provided_4(self):
     self.assertEqual(False, solution('Old,Young'))
Пример #14
0
 def test_provided_3(self):
     self.assertEqual(True, solution('CodeEval,C*Eval'))
Пример #15
0
 def test_provided_3(self):
     self.assertEqual(True, solution('CodeEval,C*Eval'))
Пример #16
0
 def test_both_kind_of(self):
     self.assertEqual(True, solution('Little *!,L*\*!'))
Пример #17
0
 def test_provided_4(self):
     self.assertEqual(False, solution('Old,Young'))
Пример #18
0
 def test_escape_missing(self):
     self.assertEqual(False, solution('A star,\*'))
Пример #19
0
 def test_escape_end(self):
     self.assertEqual(True, solution('little *,\*'))
Пример #20
0
 def test_plain_quasi(self):
     self.assertEqual(False, solution('Hello,elp'))
Пример #21
0
 def test_escape_plus(self):
     self.assertEqual(True, solution('Star,*r'))
Пример #22
0
 def test_anything(self):
     self.assertEqual(True, solution('Hello,*'))
Пример #23
0
 def test_both_kind_of(self):
     self.assertEqual(True, solution('Little *!,L*\*!'))
Пример #24
0
 def test_anything_empty(self):
     self.assertEqual(True, solution(',*'))
Пример #25
0
 def test_plain_quasi(self):
     self.assertEqual(False, solution('Hello,elp'))
Пример #26
0
 def test_provided_1(self):
     self.assertEqual(True, solution('Hello,ell'))
Пример #27
0
 def test_anything_empty(self):
     self.assertEqual(True, solution(',*'))
Пример #28
0
 def test_provided_1(self):
     self.assertEqual(True, solution('Hello,ell'))