public void From_To_Byte(byte standardIdentifier) { var rxBxSidh = new RxBxSidh(0, standardIdentifier); Assert.Equal(standardIdentifier, rxBxSidh.StandardIdentifier); Assert.Equal(standardIdentifier, rxBxSidh.ToByte()); }
public void Get_RxFilterNumber_Address(byte rxBufferNumber, Address address) { Assert.Equal(rxBufferNumber, RxBxSidh.GetRxBufferNumber(address)); Assert.Equal(address, new RxBxSidh(rxBufferNumber, 0x00).Address); }