public void FourGeneratesLikeZip(
            [Seed] int seed,
            [Size] int size,
            [PickGen] GalaxyCheck.IGen <object> gen)
        {
            List <(object, object, object, object)> SampleTraversal(GalaxyCheck.IGen <(object, object, object, object)> gen) =>
            gen.SampleOneTraversal(seed: seed, size: size);

            var gen0 = gen.Four();
            var gen1 = GalaxyCheck.Gen.Zip(gen, gen, gen, gen);

            SampleTraversal(gen0).Should().BeEquivalentTo(SampleTraversal(gen1));
        }
 List <short> SampleTraversal(GalaxyCheck.IGen <short> gen) => gen.SampleOneTraversal(seed: seed, size: size);
Beispiel #3
0
 List <long> SampleTraversal(GalaxyCheck.IGen <long> gen) => gen.SampleOneTraversal(seed: seed, size: size);