Exemple #1
0
        public void Get(Byte[] input, EthernetFrameType expected)
        {
            var ethernetFrame = new EthernetFrame
            {
                Bytes = new Byte[14]
            };

            ethernetFrame.SetBytes(12, 2, input);

            ethernetFrame.Type.Should().Be(expected);
        }