Exemple #1
0
        public void From_To_Byte(byte extendedIdentifier)
        {
            var rxFxEid8 = new RxFxEid8(0, extendedIdentifier);

            Assert.Equal(extendedIdentifier, rxFxEid8.ExtendedIdentifier);
            Assert.Equal(extendedIdentifier, rxFxEid8.ToByte());
        }
Exemple #2
0
 public void Get_RxFilterNumber_Address(byte rxFilterNumber, Address address)
 {
     Assert.Equal(rxFilterNumber, RxFxEid8.GetRxFilterNumber(address));
     Assert.Equal(address, new RxFxEid8(rxFilterNumber, 0x00).Address);
 }