|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r78782 - trunk/libs/math/test
From: pbristow_at_[hidden]
Date: 2012-05-31 07:11:22
Author: pbristow
Date: 2012-05-31 07:11:21 EDT (Thu, 31 May 2012)
New Revision: 78782
URL: http://svn.boost.org/trac/boost/changeset/78782
Log:
Added check out of range
Text files modified:
trunk/libs/math/test/test_exponential_dist.cpp | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
Modified: trunk/libs/math/test/test_exponential_dist.cpp
==============================================================================
--- trunk/libs/math/test/test_exponential_dist.cpp (original)
+++ trunk/libs/math/test/test_exponential_dist.cpp 2012-05-31 07:11:21 EDT (Thu, 31 May 2012)
@@ -15,6 +15,8 @@
#include <boost/test/test_exec_monitor.hpp> // Boost.Test
#include <boost/test/floating_point_comparison.hpp>
+#include "test_out_of_range.hpp"
+
#include <iostream>
using std::cout;
using std::endl;
@@ -250,6 +252,8 @@
quantile(dist, RealType(2)),
std::domain_error);
+ check_out_of_range<boost::math::exponential_distribution<RealType> >(1); // (All) valid constructor parameter values.
+
} // template <class RealType>void test_spots(RealType)
int test_main(int, char* [])
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk