MCPcopy Create free account
hub / github.com/Compaile/ctrack / Approx

Function Approx

test/doctest.h:1218–1222  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1216#ifdef DOCTEST_CONFIG_INCLUDE_TYPE_TRAITS
1217 template <typename T>
1218 explicit Approx(const T& value,
1219 typename detail::types::enable_if<std::is_constructible<double, T>::value>::type* =
1220 static_cast<T*>(nullptr)) {
1221 *this = static_cast<double>(value);
1222 }
1223#endif // DOCTEST_CONFIG_INCLUDE_TYPE_TRAITS
1224
1225 Approx& epsilon(double newEpsilon);

Callers 2

DOCTEST_DEFINE_DECORATORFunction · 0.85
test_case_start_implMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected