public void From_To_Byte(byte standardIdentifierMask) { var rxMxSidh = new RxMxSidh(0, standardIdentifierMask); Assert.Equal(standardIdentifierMask, rxMxSidh.StandardIdentifierMask); Assert.Equal(standardIdentifierMask, rxMxSidh.ToByte()); }
public void Get_RxMaskNumber_Address(byte rxMaskNumber, Address address) { Assert.Equal(rxMaskNumber, RxMxSidh.GetRxMaskNumber(address)); Assert.Equal(address, new RxMxSidh(rxMaskNumber, 0x00).Address); }