Exemplo n.º 1
0
 public CodeGenerator(FuzzlynOptions options)
 {
     Options = options;
     Random  = new Randomizer(options);
     Types   = new TypeManager(Random);
     Statics = new StaticsManager(Random, Types);
     Methods = new MethodManager(Random, Types, Statics);
 }
Exemplo n.º 2
0
 public Randomizer(FuzzlynOptions options)
 {
     Options = options;
     Seed    = options.Seed ?? Rng.GenSeed();
     Rng     = Rng.FromSplitMix64Seed(Seed);
 }