def test_both_empty_string(self): self.assertTrue(check_permutation("", ""))
def test_empty_string(self): self.assertFalse(check_permutation("", "Empty test"))
def test_permutation(self): self.assertTrue(check_permutation("Permutation", "rmtaontiPeu"))
def test_same_length_non_permutation(self): self.assertFalse(check_permutation("Hello", "World"))
def test_different_length_strings(self): self.assertFalse(check_permutation("Hey", "Hello you"))
def test_check_permutation(): assert check_permutation("hello", "hello") is True assert check_permutation("hello", "olleh") is True assert check_permutation("hello", "holel") is True assert check_permutation("hello", "lehol") is True assert check_permutation("helo", "hello") is False