public void From_To_Byte(byte standardIdentifier) { var txBxSidh = new TxBxSidh(0, standardIdentifier); Assert.Equal(standardIdentifier, txBxSidh.StandardIdentifier); Assert.Equal(standardIdentifier, txBxSidh.ToByte()); }
public void Get_RxFilterNumber_Address(byte txBufferNumber, Address address) { Assert.Equal(txBufferNumber, TxBxSidh.GetTxBufferNumber(address)); Assert.Equal(address, new TxBxSidh(txBufferNumber, 0).Address); }