| 134 | } |
| 135 | |
| 136 | BOOST_DATA_TEST_CASE(CalculateFunctionsOutOfCutoff_ZeroResult, |
| 137 | bdata::make(types), |
| 138 | type) |
| 139 | { |
| 140 | CutoffFunction fc; |
| 141 | fc.setCutoffType(type); |
| 142 | fc.setCutoffRadius(cutoffRadius); |
| 143 | fc.setCutoffParameter(cutoffParameter); |
| 144 | BOOST_REQUIRE_SMALL(fc.f(1.5 * cutoffRadius), accuracy); |
| 145 | } |
| 146 | |
| 147 | BOOST_DATA_TEST_CASE(CalculateDerivativesOutOfCutoff_ZeroResult, |
| 148 | bdata::make(types), |
no test coverage detected