示例#1
0
        public void From_To_Byte(byte standardIdentifier)
        {
            var txBxSidh = new TxBxSidh(0, standardIdentifier);

            Assert.Equal(standardIdentifier, txBxSidh.StandardIdentifier);
            Assert.Equal(standardIdentifier, txBxSidh.ToByte());
        }
示例#2
0
 public void Get_RxFilterNumber_Address(byte txBufferNumber, Address address)
 {
     Assert.Equal(txBufferNumber, TxBxSidh.GetTxBufferNumber(address));
     Assert.Equal(address, new TxBxSidh(txBufferNumber, 0).Address);
 }