def test_is_rotated(self): self.assertTrue(is_rotated("hello", "hello")) self.assertTrue(is_rotated("hello", "llohe")) self.assertFalse(is_rotated("hello", "helol")) self.assertFalse(is_rotated("hello", "lloh")) self.assertTrue(is_rotated("", ""))