private void AssertExactAt(float t) { float expected = curveRef.Evaluate(t); float actual = curveNat.Evaluate(t); Assert.That(actual, Is.EqualTo(expected), $"Expected value {expected} at time {t} but got {actual}."); }
public void Execute(int index) { Results[index] = Curve.Evaluate(index / (float)Results.Length); }