public void Set(Byte expected, Byte input) { var arpFrame = new ARPFrame { Bytes = new Byte[28] }; arpFrame.HardwareAddressLength = input; arpFrame.GetByte(4).Should().Be(expected); arpFrame.HardwareAddressLength.Should().Be(expected); }
public void Set(Byte expected, Byte input) { var arpFrame = new ARPFrame { Bytes = new Byte[28] }; arpFrame.ProtocolAddressLength = input; arpFrame.GetByte(5).Should().Equals(expected); arpFrame.ProtocolAddressLength.Should().Be(expected); }