// Copyright (c) 2017-2023, University of Cincinnati, developed by Henry Schreiner // under NSF AWARD 1414736 and by the respective contributors. // All rights reserved. // // SPDX-License-Identifier: BSD-3-Clause #pragma once #include #ifdef CLI11_CATCH3 #include #include #include #include #include using Catch::Approx; // NOLINT(google-global-names-in-headers) using Catch::Matchers::Equals; // NOLINT(google-global-names-in-headers) inline auto Contains(const std::string &x) { return Catch::Matchers::ContainsSubstring(x); } #else #include using Catch::Equals; // NOLINT(google-global-names-in-headers) using Catch::Matchers::Contains; // NOLINT(google-global-names-in-headers) #endif