mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-23 13:08:04 +00:00
test: setup common stability and robustness properties tracking
This commit is contained in:
@@ -225,4 +225,4 @@ public class PvtIndicatorTests
|
||||
double firstVal = indicator.LinesSeries[0].GetValue(0);
|
||||
Assert.Equal(0, firstVal);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -458,4 +458,4 @@ public class PvtTests
|
||||
pvt.Update(new TBar(time.AddMinutes(3), 105, 108, 102, 105, 20000));
|
||||
Assert.Equal(prevPvt, pvt.Last.Value, Tolerance);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -112,4 +112,4 @@ public class PvtValidationTests
|
||||
double expected3 = expected2 + 2500 * (10.0 / 105.0); // = 369.9134...
|
||||
Assert.Equal(expected3, result3.Value, 1e-10);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user