anchor.diff:  
   cast_test() ->
     ArrayType = type(avro_primitive:string_type()),
  -  cast(ArrayType, ["a", "b"]),
  -  ?assertEqual(true, true).
  +  {ok, Array} = cast(ArrayType, ["a", "b"]),
  +  ?assertEqual(ArrayType, ?AVRO_VALUE_TYPE(Array)),
  +  ?assertEqual([avro_primitive:string("a"), avro_primitive:string("b")],
  +              ?AVRO_VALUE_DATA(Array)).
   
   -endif.
   
  
positive.code: prepend(Items, Value) when ?AVRO_IS_ARRAY_VALUE(Value) ->
    new(?AVRO_VALUE_TYPE(Value), Items ++ ?AVRO_VALUE_DATA(Value)).
  
  append(Items, Value) when ?AVRO_IS_ARRAY_VALUE(Value) ->
    new(?AVRO_VALUE_TYPE(Value), ?AVRO_VALUE_DATA(Value) ++ Items).
  
  
  %% Only other Avro array type or erlang list can be casted to arrays
  -spec cast(avro_type(), term()) -> {ok, avro_value()} | false.
  
  
negative.code: -export([cast/2]).
  
  -export([prepend/2]).
  
  -include_lib("erlavro/include/erlavro.hrl").
  
  