2023-01-29 18:52:38 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <rapidcheck/gen/Arbitrary.h>
|
|
|
|
|
|
|
|
#include <derived-path.hh>
|
|
|
|
|
|
|
|
#include "tests/path.hh"
|
|
|
|
#include "tests/outputs-spec.hh"
|
|
|
|
|
|
|
|
namespace rc {
|
|
|
|
using namespace nix;
|
|
|
|
|
2023-01-30 15:55:08 +00:00
|
|
|
template<>
|
|
|
|
struct Arbitrary<DerivedPath::Opaque> {
|
|
|
|
static Gen<DerivedPath::Opaque> arbitrary();
|
|
|
|
};
|
|
|
|
|
|
|
|
template<>
|
|
|
|
struct Arbitrary<DerivedPath::Built> {
|
|
|
|
static Gen<DerivedPath::Built> arbitrary();
|
|
|
|
};
|
|
|
|
|
2023-01-29 18:52:38 +00:00
|
|
|
template<>
|
|
|
|
struct Arbitrary<DerivedPath> {
|
|
|
|
static Gen<DerivedPath> arbitrary();
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|