24 #ifndef SKA_CHEETAH_RFIM_TEST_RFIMTESTER_H 25 #define SKA_CHEETAH_RFIM_TEST_RFIMTESTER_H 27 #include "cheetah/utils/test_utils/AlgorithmTester.h" 28 #include "cheetah/rfim/Rfim.h" 29 #include "cheetah/rfim/Metrics.h" 30 #include "cheetah/rfim/policy/FlagPolicy.h" 31 #include <gtest/gtest.h> 115 template<
class TestTypeTraits,
class Scenario>
120 EXPECT_LT(m.false_positives_percentage(), 15);
121 EXPECT_LT(m.false_negatives_percentage(), 25);
125 template<
typename NumericalT,
typename ArchitectureTag,
typename ArchitectureCapability=ArchitectureTag>
128 typedef typename BaseT::DeviceType DeviceType;
131 typedef typename std::shared_ptr<FlaggedDataType> ResultType;
134 static ResultType apply_algorithm(DeviceType&, DataType);
138 template <
typename TestTraits>
144 void SetUp()
override;
145 void TearDown()
override;
151 static void verify_equal(
typename TestTraits::DataType
const& ,
typename TestTraits::DataType
const&);
160 #include "cheetah/rfim/test_utils/detail/RfimTester.cpp" 163 #endif // SKA_CHEETAH_RFIM_TEST_RFIMTESTER_H
TimeFrequency data with flags representing rfim detection.
Some limits and constants for FLDO.
describes the algorithm to be tested to the AlgorithmTester
A class for analysing and storing the results of the difference between two sets of flags representin...
Base class for generic algortihm tests that require an accelerator device.
Specialise to set non-standard pass/fail criteria.