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 Get() { var icmpv6Packet = new ICMPv6Packet { Bytes = new Byte[32] }; icmpv6Packet.SetByte(1, 1); icmpv6Packet.Code.Should().Be(1); }