def METHOD_NAME(self):
    self.assertEqual(
        format_grammar._parse_segments("/* */{ code; }", False),
        (
            ["/* */", None, ""],
            {0: [format_grammar._CppCode(1, "code;", 5, 0, False)]},
            [],
        ),
    )