diff options
author | Josh Blum <josh@joshknows.com> | 2010-07-16 17:13:09 -0700 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2010-07-16 17:13:09 -0700 |
commit | e1e3ed670ae4a2f8a4157977631ae8eed88f55b8 (patch) | |
tree | c6880d56899813bf9ad504620551648d01fa9220 | |
parent | 9a9ca6dfad4b81c42f3cda6a44b018358999d701 (diff) | |
download | uhd-e1e3ed670ae4a2f8a4157977631ae8eed88f55b8.tar.gz uhd-e1e3ed670ae4a2f8a4157977631ae8eed88f55b8.tar.bz2 uhd-e1e3ed670ae4a2f8a4157977631ae8eed88f55b8.zip |
uhd: fix unit test to compile over here
-rw-r--r-- | host/test/tune_helper_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/test/tune_helper_test.cpp b/host/test/tune_helper_test.cpp index 3df1f2471..570f47293 100644 --- a/host/test/tune_helper_test.cpp +++ b/host/test/tune_helper_test.cpp @@ -166,7 +166,7 @@ BOOST_AUTO_TEST_CASE(test_tune_helper_rx_nyquist){ std::cout << "Testing tune helper RX dummy basic board" << std::endl; tune_result_t tr = tune_rx_subdev_and_dsp(subdev.get_link(), dsp.get_link(), 55e6); std::cout << tr.to_pp_string() << std::endl; - BOOST_CHECK_CLOSE(tr.actual_inter_freq, 0, tolerance); + BOOST_CHECK_CLOSE(tr.actual_inter_freq, 0.0, tolerance); BOOST_CHECK_CLOSE(tr.actual_dsp_freq, 45e6, tolerance); double freq_derived = derive_freq_from_rx_subdev_and_dsp(subdev.get_link(), dsp.get_link()); |