19#include <boost/test/unit_test.hpp>
26template <
typename FnT>
33string get_var(
const string& name)
38 }
else if (name ==
"BAR") {
40 }
else if (name ==
"BAZ") {
42 }
else if (name ==
"QUX") {
44 }
else if (name ==
"FOOBAR") {
117 VarSub fn{[](
const string& name) {
121 }
else if (name ==
"BAR") {
123 }
else if (name ==
"BAZ") {
125 }
else if (name ==
"QUX") {
BOOST_CHECK_EQUAL(v.size(), 10U)
BOOST_AUTO_TEST_CASE(VarSubBasicCase)
BOOST_CHECK(isnan(stod(""sv, numeric_limits< double >::quiet_NaN())))