Example #1
0
 def test_scramble_02(self):
     self.assertEqual(scramble('cedewaraaossoqqyt', 'codewars'), True)
Example #2
0
 def test_scramble_01(self):
     self.assertEqual(scramble('rkqodlw', 'world'), True)
Example #3
0
 def test_scramble_05(self):
     self.assertEqual(scramble('scriptingjava', 'javascript'), True)
Example #4
0
 def test_scramble_06(self):
     self.assertEqual(scramble('eqspppzgexxd', 'zkxiwmcizcrqimxhjv'), False)
Example #5
0
 def test_scramble_03(self):
     self.assertEqual(scramble('katas', 'steak'), False)