Beispiel #1
0
        public void From_To_Byte(byte extendedIdentifier)
        {
            var rxBxEid0 = new RxBxEid0(0, extendedIdentifier);

            Assert.Equal(extendedIdentifier, rxBxEid0.ExtendedIdentifier);
            Assert.Equal(extendedIdentifier, rxBxEid0.ToByte());
        }
Beispiel #2
0
 public void Get_RxBufferNumber_Address(byte rxBufferNumber, Address address)
 {
     Assert.Equal(rxBufferNumber, RxBxEid0.GetRxBufferNumber(address));
     Assert.Equal(address, new RxBxEid0(rxBufferNumber, 0).Address);
 }