'1. Given a string, parse it to get Avro schema "original".
2. Serialize "original" to a string and parse that string
to generate Avro schema "round trip".
3. Ensure "original" and "round trip" schemas are equivalent.'

def test_equivalence_after_round_trip(self):

    print_test_name('TEST    ROUND    TRIP')
    correct = 0
    for example in VALID_EXAMPLES:
        original_schema = schema.parse(example.schema_string)
        round_trip_schema = schema.parse(str(original_schema))
        if (original_schema == round_trip_schema):
            correct += 1
            debug_msg = ('%s:    ROUND    TRIP    SUCCESS' % example.name)
        else:
            debug_msg = ('%s:    ROUND    TRIP    FAILURE' % example.name)
            self.fail(('Round    trip    failure:    %s,    %s,    %s' % (example.name, original_schema, str(original_schema))))
    fail_msg = ('Round    trip    success    on    %d    out    of    %d    schemas' % (correct, len(VALID_EXAMPLES)))
    self.assertEqual(correct, len(VALID_EXAMPLES), fail_msg)
