mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-22 04:28:04 +00:00
test: setup common stability and robustness properties tracking
This commit is contained in:
@@ -305,4 +305,4 @@ public class CvIndicatorTests
|
||||
double max = values.Max();
|
||||
Assert.True(max > min, "CV should vary with changing volatility patterns");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -456,4 +456,4 @@ public class CvTests
|
||||
Assert.True(sma.IsHot);
|
||||
Assert.True(double.IsFinite(sma.Last.Value));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -451,4 +451,4 @@ public class CvValidationTests
|
||||
Assert.True(cv.Last.Value >= 0, "Volatility cannot be negative");
|
||||
Assert.True(cv.Last.Value < 500, "Volatility should be reasonable (< 500% annualized)");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user