Sequoia
Loading...
Searching...
No Matches
HeterogeneousStaticGraphTest.hpp
Go to the documentation of this file.
1
2// Copyright Oliver J. Rosten 2019. //
3// Distributed under the GNU GENERAL PUBLIC LICENSE, Version 3.0. //
4// (See accompanying file LICENSE.md or copy at //
5// https://www.gnu.org/licenses/gpl-3.0.en.html) //
7
8#pragma once
9
13
14namespace sequoia::testing
15{
17 {
18 public:
19 using graph_init_test::graph_init_test;
20
21 [[nodiscard]]
22 std::filesystem::path source_file() const;
23
24 void run_tests();
25 private:
26
27 constexpr static auto make_undirected_graph();
28 constexpr static auto make_directed_graph();
29 constexpr static auto make_undirected_embedded_graph();
30
31 void test_generic_undirected();
32 void test_generic_embedded_undirected();
33 void test_generic_directed();
34
35 struct function_object
36 {
37 constexpr int operator()(int i) const noexcept { return i*=2;}
38 };
39 };
40}
class template from which all concrete tests should derive.
Definition: FreeTestCore.hpp:144
Definition: HeterogeneousStaticGraphTest.hpp:17