Searched refs:w_expect (Results 1 – 2 of 2) sorted by relevance
242 Real w_expect = 1/(x[i] - x[i - 1]) + 1/(x[i+1] - x[i]); in test_weights() local245 BOOST_CHECK_CLOSE(w, -w_expect, 0.00001); in test_weights()249 BOOST_CHECK_CLOSE(w, w_expect, 0.00001); in test_weights()
361 Real w_expect = 1/(t_copy[i] - t_copy[i - 1]) + 1/(t_copy[i+1] - t_copy[i]); in test_weights() local364 BOOST_CHECK_CLOSE(w, -w_expect, 0.00001); in test_weights()368 BOOST_CHECK_CLOSE(w, w_expect, 0.00001); in test_weights()