def test_punc_inv_prompt_formatter(self):
    """Tests the punc prompt format with original input at the end."""
    config = casper_formatters.FormatterConfig.from_dict({
        "presets": ["punc"],
        "inv": True
    })
    input_str, output_str = casper_formatters.augment_exemplars(
        _EXAMPLES[0], [_EXAMPLES[1], _EXAMPLES[3]], "top", config)
    expected_input_str = "{} ## {} @@ {} ## {} @@ {}".format(
        _EXAMPLES[1]["input_str"],
        _EXAMPLES[1]["_serialized"],
        _EXAMPLES[3]["input_str"],
        _EXAMPLES[3]["_serialized"],
        _EXAMPLES[0]["input_str"],
    )
    expected_output_str = _EXAMPLES[0]["_serialized"]
    self.assertEqual(input_str, expected_input_str)
    self.assertEqual(output_str, expected_output_str)
Tests the punc prompt format with original input at the end.
language/casper/augment/casper_formatters_test.py