public void BufferTest() { var p = new FloatParameter(null, "myFloatId", "myFloatName", 123.0, "m/s", 5); p.Value = 555555.66; p.ResetModifiedState(); Assert.AreEqual(p.BufferedValue, p.Value, "BufferedValue not set correctly"); }
public void BufferTest() { var p = new FloatParameter(null, "myFloatId", "myFloatName", 123.0, "m/s", 5); p.Value = 555555.66; p.ResetModifiedState(); Assert.AreEqual(p.BufferedValue, p.Value, "BufferedValue not set correctly"); }