[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
@@ -159,7 +159,7 @@ public class SsfdspValidationTests
for (int i = 0; i < 200; i++)
{
double price = 100 + 10 * Math.Sin(frequency * i);
double price = 100 + (10 * Math.Sin(frequency * i));
ssfdsp.Update(new TValue(DateTime.UtcNow.AddSeconds(i), price));
if (i >= 80) // After warmup
{
@@ -337,7 +337,7 @@ public class SsfdspValidationTests
for (int i = 0; i < 1000; i++)
{
double price = 100 + 10 * Math.Sin(2 * Math.PI * i / 40);
double price = 100 + (10 * Math.Sin(2 * Math.PI * i / 40));
ssfdsp.Update(new TValue(DateTime.UtcNow.AddSeconds(i), price));
if (i >= 100) // After warmup