mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-23 13:08:04 +00:00
Refactor tests and project files for improved consistency and clarity
This commit is contained in:
@@ -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]
|
||||
|
||||
@@ -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)] };
|
||||
|
||||
Reference in New Issue
Block a user