mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-24 05:28:05 +00:00
test: setup common stability and robustness properties tracking
This commit is contained in:
@@ -234,4 +234,4 @@ public class PvoIndicatorTests
|
||||
Assert.True(double.IsFinite(val1));
|
||||
Assert.True(double.IsFinite(val2));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -517,4 +517,4 @@ public class PvoTests
|
||||
// After warmup with constant volume, PVO should be very close to 0
|
||||
Assert.True(Math.Abs(pvo.Last.Value) < 0.01, $"PVO should be ~0 with constant volume, but was {pvo.Last.Value}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -245,4 +245,4 @@ public class PvoValidationTests
|
||||
int finiteCount = values.Count(v => double.IsFinite(v));
|
||||
Assert.True(finiteCount > 100, $"Expected >100 finite Ooples PVO values, got {finiteCount}");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user