mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-23 21:18:04 +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:
@@ -57,7 +57,7 @@ public class AdoscTests
|
||||
|
||||
var modifiedBar = new TBar(_bars[0].Time, _bars[0].Open, _bars[0].High, _bars[0].Low, _bars[0].Close * 1.1, _bars[0].Volume);
|
||||
adosc.Update(modifiedBar, isNew: false);
|
||||
|
||||
|
||||
Assert.NotEqual(firstResult, adosc.Last.Value);
|
||||
}
|
||||
|
||||
@@ -87,7 +87,7 @@ public class AdoscTests
|
||||
{
|
||||
var adosc = new Adosc(3, 10);
|
||||
var batchResult = Adosc.Batch(_bars, 3, 10);
|
||||
|
||||
|
||||
var streamResult = new List<double>();
|
||||
foreach (var bar in _bars)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user