def test_is_perm_true(self): string1 = "test" string2 = "test" self.assertTrue(is_perm(string1, string2)) string1 = "testing" string2 = "gintset" self.assertTrue(is_perm(string1, string2))
def test_is_perm_false(self): string1 = "test" string2 = "bar" self.assertFalse(is_perm(string1, string2))