mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-25 13:58:04 +00:00
[CodeFactor] Apply fixes to commit 0606491
This commit is contained in:
@@ -106,7 +106,7 @@ public sealed class GeomeanValidationTests
|
||||
var g = new Geomean(10);
|
||||
for (int i = 0; i < 20; i++)
|
||||
{
|
||||
g.Update(new TValue(DateTime.UtcNow, 100.0 + i * 0.001));
|
||||
g.Update(new TValue(DateTime.UtcNow, 100.0 + (i * 0.001)));
|
||||
}
|
||||
Assert.True(Math.Abs(g.Last.Value - 100.01) < 0.1,
|
||||
$"Expected near 100.01, got {g.Last.Value}");
|
||||
|
||||
Reference in New Issue
Block a user