mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-23 21:18:04 +00:00
style patterns
This commit is contained in:
@@ -373,7 +373,7 @@ public sealed class AmatValidationTests : IDisposable
|
||||
|
||||
double trendMatchRate = (double)trendMatchCount / totalCount;
|
||||
double strengthMatchRate = (double)strengthMatchCount / totalCount;
|
||||
|
||||
|
||||
Assert.True(trendMatchRate > 0.95, $"Expected >95% trend match rate after warmup, got {trendMatchRate:P2}");
|
||||
Assert.True(strengthMatchRate > 0.95, $"Expected >95% strength match rate after warmup, got {strengthMatchRate:P2}");
|
||||
|
||||
@@ -437,4 +437,4 @@ public sealed class AmatValidationTests : IDisposable
|
||||
|
||||
_output.WriteLine($"Period combination ({fastPeriod}, {slowPeriod}) validated: Trend={amat.Last.Value}, Strength={amat.Strength.Value:F2}%");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user