[CodeFactor] Apply fixes to commit 4a01f03

This commit is contained in:
codefactor-io
2026-03-11 03:35:12 +00:00
parent 4a01f03cb4
commit 567fa89465
63 changed files with 293 additions and 302 deletions
+3 -3
View File
@@ -53,7 +53,7 @@ public class FftValidationTests
for (int i = 0; i < windowSize * 3; i++)
{
double signal = 50.0 + 10.0 * Math.Sin(2.0 * Math.PI * i / targetPeriod);
double signal = 50.0 + (10.0 * Math.Sin(2.0 * Math.PI * i / targetPeriod));
indicator.Update(new TValue(time.AddMinutes(i), signal), true);
}
@@ -74,7 +74,7 @@ public class FftValidationTests
for (int i = 0; i < windowSize * 4; i++)
{
double signal = 50.0 + 10.0 * Math.Sin(2.0 * Math.PI * i / targetPeriod);
double signal = 50.0 + (10.0 * Math.Sin(2.0 * Math.PI * i / targetPeriod));
indicator.Update(new TValue(time.AddMinutes(i), signal), true);
}
@@ -246,7 +246,7 @@ public class FftValidationTests
for (int i = 0; i < 50; i++)
{
ind.Update(new TValue(t0.AddSeconds(i), 100.0 + 10.0 * Math.Sin(2 * Math.PI * i / 8.0)));
ind.Update(new TValue(t0.AddSeconds(i), 100.0 + (10.0 * Math.Sin(2 * Math.PI * i / 8.0))));
}
var anchorTime = t0.AddSeconds(50);