Refactor tests and project files for improved consistency and clarity

This commit is contained in:
Miha Kralj
2025-12-27 18:09:04 -08:00
parent bf99f3caa9
commit f2487ced04
58 changed files with 863 additions and 276 deletions
+2 -2
View File
@@ -40,8 +40,8 @@ public class BopIndicatorTests
{
var indicator = new BopIndicator();
Assert.Contains("github.com", indicator.SourceCodeLink);
Assert.Contains("Bop.Quantower.cs", indicator.SourceCodeLink);
Assert.Contains("github.com", indicator.SourceCodeLink, StringComparison.Ordinal);
Assert.Contains("Bop.Quantower.cs", indicator.SourceCodeLink, StringComparison.Ordinal);
}
[Fact]
+1 -1
View File
@@ -62,7 +62,7 @@ public sealed class BopValidationTests : IDisposable
var close = _data.Bars.Close.Values.ToArray();
double[][] inputs = { open, high, low, close };
double[] options = { }; // No options for BOP
double[] options = Array.Empty<double>(); // No options for BOP
var bopInd = Tulip.Indicators.bop;
double[][] outputs = { new double[open.Length - bopInd.Start(options)] };