CsCheck/Dbg.cs
/// <summary>Classify and count generated types debug info.</summary>
Classify and count generated types debug info.
Classify and count generated types debug info .
public static Gen<T> DbgClassify<T>(this Gen<T> gen, Func<T, string> name) =>
        Gen.Create((PCG pcg, Size min, out Size size) =>
    {
        var t = gen.Generate(pcg, min, out size);
        Count(name(t));
        return t;
    });
public static Gen < T > DbgClassify < T > ( this Gen < T > gen , Func < T , string > name ) => Gen . Create ( ( PCG pcg , Size min , out Size size ) => { var t = gen . Generate ( pcg , min , out size ) ; Count ( name ( t ) ) ; return t ; } ) ;
Classify and count generated types debug info.
Classify and count generated types debug info .
Gen<T>
this
name
Func<T, string>