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:
Miha Kralj
2025-12-28 17:44:08 -08:00
parent ad6eebf812
commit 13d7c1215d
169 changed files with 10815 additions and 10814 deletions
+1 -1
View File
@@ -208,7 +208,7 @@ public class RmaTests
{
var source = new TSeries();
var rma = new Rma(source, 10);
source.Add(new TValue(DateTime.UtcNow, 100));
Assert.Equal(100, rma.Last.Value, 1e-9);
}
+2 -2
View File
@@ -43,7 +43,7 @@ public sealed class RmaValidationTests : IDisposable
{
// Arrange
int period = 14;
// QuanTAlib RMA
var rma = new Rma(period);
var quantalibResults = new TSeries();
@@ -94,7 +94,7 @@ public sealed class RmaValidationTests : IDisposable
// Skip warmup period for comparison
int skip = period * 30;
int itemsToVerify = _testData.Data.Count - skip;
ValidationHelper.VerifyData(qResult, oValues, (s) => s, skip: itemsToVerify, tolerance: ValidationHelper.OoplesTolerance);
}
}