Refactor validation tests to improve tolerance handling and clarify validation logic for TEMA and VIDYA indicators

This commit is contained in:
Miha Kralj
2025-12-12 19:03:23 -08:00
parent cea3e0c46d
commit 79dcbcaddd
4 changed files with 28 additions and 78 deletions
+1 -1
View File
@@ -119,7 +119,7 @@ public static class ValidationHelper
Assert.Equal(tValue, qValue, tolerance);
}
}
public static void VerifyData(TSeries qSeries, double[] tOutput, Range outRange, int lookback, int skip = 100, double tolerance = 1e-6)
{
int count = qSeries.Count;