Sequoia
Loading...
Searching...
No Matches
MonotonicSequenceTest.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
15
16namespace sequoia::testing
17{
19 {
20 public:
21 using regular_test::regular_test;
22
23 [[nodiscard]]
24 std::filesystem::path source_file() const;
25
26 void run_tests();
27 private:
28
29 template<bool Check>
30 constexpr static maths::static_monotonic_sequence<int, 6, std::greater<int>> make_sequence();
31
32 void test_decreasing_sequence();
33
34 void test_static_decreasing_sequence();
35
36 void test_static_increasing_sequence();
37 };
38}
Classes implementing the concept of a monotonic sequence.
Utilities for checking regular semantics.
Definition: MonotonicSequence.hpp:303
class template from which all concrete tests should derive.
Definition: FreeTestCore.hpp:144
Definition: MonotonicSequenceTest.hpp:19