anchor.diff:  otp7575(suite) -> [];
   otp7575(doc) -> ["OTP-7575 - Message version"];
   otp7575(Config) when is_list(Config) ->
  -    io:format("attempt to decode message with valid version~n", []),
  +    ?IPRINT("attempt to decode message with valid version"),
       MsgWithOkVersion = <<48,39,2,1,0,4,6,112,117,98,108,105,99,160,26,2,2,1,49,2,1,0,2,1,0,48,14,48,12,6,8,43,6,1,2,1,1,5,0,5,0>>,
       case (catch dec_message(MsgWithOkVersion)) of
   	Msg when is_record(Msg, message) ->
  
positive.code: otp10132(doc) -> ["OTP-10132 - TimeTicks"];
  otp10132(Config) when is_list(Config) ->
      Val0 = 2159001034, 
      io:format("try encode and decode value 0: ~w (0x~.16b)~n", [Val0, Val0]),
      Enc0 = snmp_pdus:enc_value('TimeTicks', Val0), 
      io:format("  => ~w~n", [Enc0]),
      {{'TimeTicks', Val0}, []} = snmp_pdus:dec_value(Enc0), 
  
      Val1 = 0, 
      io:format("try encode and decode value 1: ~w (0x~.16b)~n", [Val1, Val1]),
      Enc1 = snmp_pdus:enc_value('TimeTicks', Val1), 
      io:format("  => ~w~n", [Enc1]),
      {{'TimeTicks', Val1}, []} = snmp_pdus:dec_value(Enc1), 
  
      Val2 = Val1 + 1, 
      io:format("try encode and decode value 2: ~w (0x~.16b)~n", [Val2, Val2]),
      Enc2 = snmp_pdus:enc_value('TimeTicks', Val2), 
      io:format("  => ~w~n", [Enc2]),
      {{'TimeTicks', Val2}, []} = snmp_pdus:dec_value(Enc2), 
  
      Val3 = 16#7ffffffe,
      io:format("try encode and decode value 3: ~w (0x~.16b)~n", [Val3, Val3]),
      Enc3 = snmp_pdus:enc_value('TimeTicks', Val3), 
      io:format("  => ~w~n", [Enc3]),
      {{'TimeTicks', Val3}, []} = snmp_pdus:dec_value(Enc3), 
  
      Val4 = Val3 + 1,
      io:format("try encode and decode value 4: ~w (0x~.16b)~n", [Val4, Val4]),
      Enc4 = snmp_pdus:enc_value('TimeTicks', Val4), 
      io:format("  => ~w~n", [Enc4]),
      {{'TimeTicks', Val4}, []} = snmp_pdus:dec_value(Enc4), 
  
      Val5 = Val4 + 1,
      io:format("try encode and decode value 5: ~w (0x~.16b)~n", [Val5, Val5]),
      Enc5 = snmp_pdus:enc_value('TimeTicks', Val5), 
      io:format("  => ~w~n", [Enc5]),
      {{'TimeTicks', Val5}, []} = snmp_pdus:dec_value(Enc5), 
  
      Val6 = 16#fffffffe,
      io:format("try encode and decode value 6: ~w (0x~.16b)~n", [Val6, Val6]),
      Enc6 = snmp_pdus:enc_value('TimeTicks', Val6), 
      io:format("  => ~w~n", [Enc6]),
      {{'TimeTicks', Val6}, []} = snmp_pdus:dec_value(Enc6), 
  
      Val7 = Val6 + 1,
      io:format("try encode and decode value 7: ~w (0x~.16b)~n", [Val7, Val7]),
      Enc7 = snmp_pdus:enc_value('TimeTicks', Val7), 
      io:format("  => ~w~n", [Enc7]),
      {{'TimeTicks', Val7}, []} = snmp_pdus:dec_value(Enc7), 
  
      Val8 = Val7 + 1, 
      io:format("try and fail to encode value 8: ~w (0x~.16b)~n", [Val8, Val8]),
      case (catch snmp_pdus:enc_value('TimeTicks', Val8)) of
  	{'EXIT', {error, {bad_timeticks, Val8}}} ->
  	    ok;
  	Unexpected8 ->
  	    io:format("  => ~w~n", [Unexpected8]),
  	    exit({unexpected_encode_result, Unexpected8, Val8})
      end,
  
      Val9 = -1, 
      io:format("try and fail to encode value 9: ~w~n", [Val9]),
      case (catch snmp_pdus:enc_value('TimeTicks', Val9)) of
  	{'EXIT', {error, {bad_timeticks, Val9}}} ->
  	    ok;
  	Unexpected9 ->
  	    io:format("  => ~w~n", [Unexpected9]),
  	    exit({unexpected_encode_result, Unexpected9, Val9})
      end,
  
      io:format("done~n", []),
      ok.
  
  
  
negative.code: %%
  
  init_per_testcase(_Case, Config) when is_list(Config) ->
      ?IPRINT("init_per_testcase -> entry with"
              "~n   Config: ~p", [Config]),
  
      snmp_test_global_sys_monitor:reset_events(),
  
      ?IPRINT("init_per_testcase -> end"),
  
      Config.
  
  end_per_testcase(_Case, Config) when is_list(Config) ->
  
      ?IPRINT("end_per_testcase -> entry with"
              "~n   Config: ~p",
              [Config]),
  
      ?IPRINT("system events during test: ~p",
              [snmp_test_global_sys_monitor:events()]),
  
      Config.
  
  
  