test tolerances updated

This commit is contained in:
Miha Kralj
2025-12-22 12:50:41 -08:00
parent a7b7207801
commit d2a622bff9
46 changed files with 448694 additions and 82 deletions
+1 -1
View File
@@ -182,7 +182,7 @@ public class DemaValidationTests : IDisposable
// Compare
// Note: There might be tiny differences due to floating point operations order
// or internal state handling optimization in Dema class vs composed Ema classes.
Assert.Equal(ooplesVal, qVal.Value, 1e-9);
Assert.Equal(ooplesVal, qVal.Value, ValidationHelper.DefaultTolerance);
}
}
_output.WriteLine("DEMA validated successfully against Ooples logic (2*EMA - EMA(EMA))");