public void Get_Bytes(bool columnAddress127, byte[] expectedBytes) { SetSegmentReMap setSegmentReMap = new SetSegmentReMap(columnAddress127); byte[] actualBytes = setSegmentReMap.GetBytes(); Assert.Equal(expectedBytes, actualBytes); }
public void Get_Bytes_With_Default_Values() { SetSegmentReMap setSegmentReMap = new SetSegmentReMap(); byte[] actualBytes = setSegmentReMap.GetBytes(); Assert.Equal(new byte[] { 0xA0 }, actualBytes); }