mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-22 12:38:06 +00:00
normalization of methods
This commit is contained in:
@@ -205,7 +205,7 @@ public class DspValidationTests
|
||||
tSeries.Add(new TValue(bar.Time, bar.Close));
|
||||
}
|
||||
|
||||
var batch = Dsp.Calculate(tSeries, period);
|
||||
var batch = Dsp.Batch(tSeries, period);
|
||||
|
||||
// Compare last values
|
||||
Assert.Equal(batch[^1].Value, streaming.Last.Value, Tolerance);
|
||||
@@ -227,7 +227,7 @@ public class DspValidationTests
|
||||
tSeries.Add(new TValue(bar.Time, bar.Close));
|
||||
}
|
||||
|
||||
var tSeriesResult = Dsp.Calculate(tSeries, period);
|
||||
var tSeriesResult = Dsp.Batch(tSeries, period);
|
||||
|
||||
// Span approach
|
||||
double[] source = new double[dataLen];
|
||||
|
||||
Reference in New Issue
Block a user