From 314201ee5cc202e7fcfc02588e065a51f24605e3 Mon Sep 17 00:00:00 2001 From: codefactor-io Date: Tue, 17 Mar 2026 16:26:54 +0000 Subject: [PATCH] [CodeFactor] Apply fixes to commit c661fee --- lib/oscillators/rrsi/tests/Rrsi.Tests.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/oscillators/rrsi/tests/Rrsi.Tests.cs b/lib/oscillators/rrsi/tests/Rrsi.Tests.cs index 06a03d90..8c38f7a9 100644 --- a/lib/oscillators/rrsi/tests/Rrsi.Tests.cs +++ b/lib/oscillators/rrsi/tests/Rrsi.Tests.cs @@ -368,7 +368,7 @@ public sealed class RrsiTests } for (int i = 20; i < 50; i++) { - ind.Update(new TValue(DateTime.UtcNow.AddMinutes(i), 100.0 + (i - 20) * 2.0)); + ind.Update(new TValue(DateTime.UtcNow.AddMinutes(i), 100.0 + ((i - 20) * 2.0))); } Assert.True(ind.Last.Value > 0, $"Strong uptrend should be positive, got {ind.Last.Value}"); } @@ -383,7 +383,7 @@ public sealed class RrsiTests } for (int i = 20; i < 50; i++) { - ind.Update(new TValue(DateTime.UtcNow.AddMinutes(i), 100.0 - (i - 20) * 2.0)); + ind.Update(new TValue(DateTime.UtcNow.AddMinutes(i), 100.0 - ((i - 20) * 2.0))); } Assert.True(ind.Last.Value < 0, $"Strong downtrend should be negative, got {ind.Last.Value}"); }