Fishnet 2.0.1
Framework for Graph-Based Analysis of GIS Vector Data
Loading...
Searching...
No Matches
TestUtil.hpp File Reference
#include <gtest/gtest.h>
#include <ranges>
#include <stacktrace>
#include <string>
#include <type_traits>
#include <utility>
#include <filesystem>
#include <fishnet/Concepts.hpp>
Include dependency graph for TestUtil.hpp:

Go to the source code of this file.

Namespaces

namespace  fishnet
 
namespace  fishnet::test
 

Functions

static void fishnet::test::TODO ()
 
template<typename T >
static void fishnet::test::EXPECT_CONTAINS (fishnet::util::input_range_of< T > auto &&collection, const T &element)
 
template<typename T >
static void fishnet::test::EXPECT_NOT_CONTAINS (fishnet::util::input_range_of< T > auto &&collection, const T &element)
 
static void fishnet::test::EXPECT_CONTAINS_ALL (std::ranges::input_range auto &&collection, std::ranges::input_range auto &&expected)
 
template<typename... Args>
static void fishnet::test::EXPECT_CONTAINS_ALL (std::ranges::input_range auto &&collection, const Args &...args)
 
static void fishnet::test::EXPECT_UNSORTED_RANGE_EQ (std::ranges::forward_range auto const &actual, std::ranges::forward_range auto const &expected)
 
static void fishnet::test::EXPECT_UNSORTED_RANGE_EQ (std::ranges::forward_range auto const &actual, std::ranges::forward_range auto const &expected, auto const &eq)
 
static void fishnet::test::EXPECT_SORTED_RANGE_EQ (std::ranges::forward_range auto const &actual, std::ranges::forward_range auto const &expected)
 
static void fishnet::test::EXPECT_SORTED_RANGE_EQ (std::ranges::forward_range auto const &actual, std::ranges::forward_range auto const &expected, auto const &eq)
 
static void fishnet::test::EXPECT_SIZE (std::ranges::range auto &&range, size_t expectedSize)
 
static void fishnet::test::EXPECT_EMPTY (std::ranges::range auto &&range)
 
template<typename ExpectedType >
static void fishnet::test::EXPECT_TYPE (const auto &value)
 
static void fishnet::test::EXPECT_VALUE (const __impl::OptionalOrExpected auto &wrapper, const typename std::remove_cvref_t< decltype(wrapper)>::value_type &expectedValue)
 
static void fishnet::test::EXPECT_VALUE (const __impl::OptionalOrExpected auto &wrapper)
 
static void fishnet::test::ASSERT_VALUE (const __impl::OptionalOrExpected auto &wrapper)
 
static void fishnet::test::EXPECT_EMPTY (const __impl::OptionalOrExpected auto &wrapper)
 
static void fishnet::test::EXPECT_EXISTS (const std::filesystem::path &path)
 
static void fishnet::test::EXPECT_NOT_EXISTS (const std::filesystem::path &path)
 
void fishnet::test::EXPECT_IN_RANGE (fishnet::math::Number auto value, fishnet::math::Number auto lower, fishnet::math::Number auto upper)