Sequoia
Loading...
Searching...
No Matches
MonotonicSequenceAllocationTest.hpp
Go to the documentation of this file.
1
2// Copyright Oliver J. Rosten 2020. //
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_allocation_test::regular_allocation_test;
22
23 [[nodiscard]]
24 std::filesystem::path source_file() const;
25
26 template<bool PropagateCopy, bool PropagateMove, bool PropagateSwap>
27 void test_allocation();
28
29 void run_tests();
30 };
31}
Classes implementing the concept of a monotonic sequence.
Extension for checking allocations for types with regular semantics, see here.
Templated on the test_mode, this forms the basis of all allocation tests for regular types.
Definition: RegularAllocationTestCore.hpp:104
Definition: MonotonicSequenceAllocationTest.hpp:19