[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
+2 -2
View File
@@ -394,12 +394,12 @@ public class SgmaTests
double[] prices = new double[20];
for (int i = 0; i < 10; i++)
{
prices[i] = 100 + i * 5;
prices[i] = 100 + (i * 5);
}
for (int i = 10; i < 20; i++)
{
prices[i] = 145 - (i - 10) * 5;
prices[i] = 145 - ((i - 10) * 5);
}
var sgma2 = new Sgma(5, 2);
@@ -101,7 +101,7 @@ public class SgmaValidationTests
double[] prices = new double[20];
for (int i = 0; i < 20; i++)
{
prices[i] = 100.0 + i * 10.0; // Linear: 100, 110, 120, ..., 290
prices[i] = 100.0 + (i * 10.0); // Linear: 100, 110, 120, ..., 290
}
var sgma0 = new Sgma(period, 0);