public void Get_Bytes(bool enableChargePump, byte[] expectedBytes) { SetChargePump setChargePump = new SetChargePump(enableChargePump); byte[] actualBytes = setChargePump.GetBytes(); Assert.Equal(expectedBytes, actualBytes); }
public void Get_Bytes_With_Default_Values() { SetChargePump setChargePump = new SetChargePump(); byte[] actualBytes = setChargePump.GetBytes(); Assert.Equal(new byte[] { 0x8D, 0x10 }, actualBytes); }