コード例 #1
0
 def test_ana_5(self):
     s, t = "a", ""
     expected = False
     self.assertEqual(ana.anagram(s, t), expected)
コード例 #2
0
 def test_ana_4(self):
     s, t = "", ""
     expected = True
     self.assertEqual(ana.anagram(s, t), expected)
コード例 #3
0
 def test_ana_2(self):
     s, t = "rat", "car"
     expected = False
     self.assertEqual(ana.anagram(s, t), expected)
コード例 #4
0
 def test_ana_3(self):
     s, t = "doters", "todrse"
     expected = True
     self.assertEqual(ana.anagram(s, t), expected)
コード例 #5
0
 def test_ana_1(self):
     s, t = "anagram", "nagaram"
     expected = True
     self.assertEqual(ana.anagram(s, t), expected)