public void Get(Byte input, ICMPv6Type expected) { var icmpv6Packet = new ICMPv6Packet { Bytes = new Byte[32] }; icmpv6Packet.SetByte(0, input); icmpv6Packet.Type.Should().Be(expected); }
public void Set(Byte expected, ICMPv6Type input) { var icmpv6Packet = new ICMPv6Packet { Bytes = new Byte[32] }; icmpv6Packet.Type = input; icmpv6Packet.GetByte(0).Should().Be(expected); icmpv6Packet.Type.Should().Be(input); }