[CodeFactor] Apply fixes to commit 0606491

This commit is contained in:
codefactor-io
2026-03-12 19:37:50 +00:00
parent 060649192f
commit 8f79257155
384 changed files with 1197 additions and 1215 deletions
@@ -178,7 +178,7 @@ public sealed class MstochValidationTests
// Feed 50 strongly rising bars
for (int i = 0; i < 50; i++)
{
mstoch.Update(new TValue(t0.AddSeconds(100 + i), 100.0 + i * 2.0));
mstoch.Update(new TValue(t0.AddSeconds(100 + i), 100.0 + (i * 2.0)));
}
double risingVal = mstoch.Last.Value;
@@ -190,7 +190,7 @@ public sealed class MstochValidationTests
}
for (int i = 0; i < 50; i++)
{
mstoch.Update(new TValue(t0.AddSeconds(100 + i), 100.0 - i * 2.0));
mstoch.Update(new TValue(t0.AddSeconds(100 + i), 100.0 - (i * 2.0)));
}
double fallingVal = mstoch.Last.Value;