mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
added median tests.
[SVN r3541]
This commit is contained in:
@@ -530,7 +530,7 @@ int test_main(int, char* [])
|
||||
BOOST_CHECK_EQUAL(tristd.mode(), 0);
|
||||
BOOST_CHECK_EQUAL(tristd.upper(), 1);
|
||||
|
||||
cout << median(tristd) << endl;
|
||||
cout << range(tristd).first << ' ' << range(tristd).second << endl;
|
||||
|
||||
triangular_distribution<> tri011(0, 1, 1); // Using default RealType double.
|
||||
// mode is upper
|
||||
|
||||
Reference in New Issue
Block a user