mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-26 14:28:05 +00:00
Refactor code formatting and improve consistency across various test files
- Removed unnecessary blank lines in multiple test files to enhance readability. - Ensured consistent spacing and formatting in the `Trima`, `Usf`, `Vidya`, `Wma`, and `Atr` test classes. - Updated comments for clarity and consistency in the `Atr` and `Adl` classes. - Adjusted project files for better structure and maintainability.
This commit is contained in:
@@ -44,7 +44,7 @@ public class AdlValidationTests
|
||||
var close = _data.Bars.Close.Values.ToArray();
|
||||
var volume = _data.Bars.Volume.Values.ToArray();
|
||||
var talibValues = new double[high.Length];
|
||||
|
||||
|
||||
var retCode = TALib.Functions.Ad(high, low, close, volume, 0..^0, talibValues, out var outRange);
|
||||
Assert.Equal(TALib.Core.RetCode.Success, retCode);
|
||||
|
||||
@@ -67,7 +67,7 @@ public class AdlValidationTests
|
||||
var low = _data.Bars.Low.Values.ToArray();
|
||||
var close = _data.Bars.Close.Values.ToArray();
|
||||
var volume = _data.Bars.Volume.Values.ToArray();
|
||||
|
||||
|
||||
var tulipIndicator = Tulip.Indicators.ad;
|
||||
double[][] inputs = { high, low, close, volume };
|
||||
double[] options = Array.Empty<double>();
|
||||
|
||||
Reference in New Issue
Block a user