'Testing that transforming the name of a record type argument to a
function does not result in the fields of the record being used to
uniquely identify them, and that no other condition results in the
transformed name being excessively long.'

def test_record_arg_transform(self):

    rec = numpy_support.from_dtype(recordtype3)
    transformed = mangle_type(rec)
    self.assertNotIn('first', transformed)
    self.assertNotIn('second', transformed)
    self.assertLess(len(transformed), 20)
    struct_arr = types.Array(rec, 1, 'C')
    transformed = mangle_type(struct_arr)
    self.assertIn('Array', transformed)
    self.assertNotIn('first', transformed)
    self.assertNotIn('second', transformed)
    self.assertLess(len(transformed), 50)
