Ejemplo n.º 1
0
        public void From_To_Byte(byte standardIdentifier)
        {
            var rxBxSidh = new RxBxSidh(0, standardIdentifier);

            Assert.Equal(standardIdentifier, rxBxSidh.StandardIdentifier);
            Assert.Equal(standardIdentifier, rxBxSidh.ToByte());
        }
Ejemplo n.º 2
0
 public void Get_RxFilterNumber_Address(byte rxBufferNumber, Address address)
 {
     Assert.Equal(rxBufferNumber, RxBxSidh.GetRxBufferNumber(address));
     Assert.Equal(address, new RxBxSidh(rxBufferNumber, 0x00).Address);
 }