18#include "pw_allocator/allocator.h"
19#include "pw_allocator/test_harness.h"
20#include "pw_fuzzer/fuzztest.h"
22namespace pw::allocator::test {
45template <
size_t kMaxRequests,
size_t kMaxSize>
84template <
size_t kIndex,
typename... Args>
86 if constexpr (kIndex == 0) {
89 if constexpr (kIndex == 1) {
92 if constexpr (kIndex == 2) {
98inline constexpr size_t kMaxRequests = 256;
99inline constexpr size_t kMaxSize = 2048;
101inline auto DefaultArbitraryRequests() {
102 return pw::allocator::test::ArbitraryRequests<kMaxRequests, kMaxSize>();
Request MakeRequest(Args... args)
Definition: fuzzing.h:85
auto ArbitraryRequests()
Definition: fuzzing.h:46
fuzzer::Domain< Request > ArbitraryRequest(size_t max_size)
Represents a request to allocate some memory.
Definition: test_harness.h:30
Represents a request to free some allocated memory.
Definition: test_harness.h:36
Represents a request to reallocate allocated memory with a new size.
Definition: test_harness.h:41