aboutsummaryrefslogtreecommitdiffstats
path: root/host/tests
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2021-03-09 10:30:33 +0100
committerAaron Rossetto <aaron.rossetto@ni.com>2021-03-11 09:33:57 -0600
commitbed66b0b6f574fc91d2093380ff7c36ce163cf50 (patch)
treefaa792f4ae694b10f8757920f5d6456196729849 /host/tests
parent328572908b6ce8777a780e9fa8106954f749a3a5 (diff)
downloaduhd-bed66b0b6f574fc91d2093380ff7c36ce163cf50.tar.gz
uhd-bed66b0b6f574fc91d2093380ff7c36ce163cf50.tar.bz2
uhd-bed66b0b6f574fc91d2093380ff7c36ce163cf50.zip
tests: Fix warnings for rf_control_gain_profile_test
- Remove unused const - Fix includes to IWYU and clang-format order
Diffstat (limited to 'host/tests')
-rw-r--r--host/tests/rf_control_gain_profile_test.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/host/tests/rf_control_gain_profile_test.cpp b/host/tests/rf_control_gain_profile_test.cpp
index d68f4b378..90260be1c 100644
--- a/host/tests/rf_control_gain_profile_test.cpp
+++ b/host/tests/rf_control_gain_profile_test.cpp
@@ -4,15 +4,12 @@
// SPDX-License-Identifier: GPL-3.0-or-later
//
-#include <uhdlib/rfnoc/rf_control/gain_profile_iface.hpp>
#include <uhd/types/ranges.hpp>
+#include <uhdlib/rfnoc/rf_control/gain_profile_iface.hpp>
#include <boost/test/unit_test.hpp>
-#include <iostream>
using namespace uhd::rfnoc::rf_control;
-static const double tolerance = 0.001; // %
-
void test_profile_invariant(gain_profile_iface& gain_profile)
{
BOOST_CHECK(gain_profile.get_gain_profile_names(0).size() > 0);