ifw-daq 3.1.0
IFW Data Acquisition modules
Loading...
Searching...
No Matches
matchers.hpp
Go to the documentation of this file.
1/**
2 * @file
3 * @ingroup daq_ocm_fits_test
4 * @copyright 2022 ESO - European Southern Observatory
5 *
6 * @brief Contains common matchers
7 */
8#ifndef DAQ_LIBFITS_MATCHERS_HPP
9#define DAQ_LIBFITS_MATCHERS_HPP
10
11#include <gmock/gmock.h>
12
13MATCHER_P2(IsKeyword, name, type, "Match keyword name and type") {
14 auto [kw_name, kw_type] = arg.GetName();
15 return name == kw_name && type == kw_type;
16}
17
18#endif // #ifndef DAQ_LIBFITS_MATCHERS_HPP
MATCHER_P2(IsKeyword, name, type, "Match keyword name and type")
Definition: matchers.hpp:13