GrowInitialiser implements CreationOperation, Stochastic { public void setMinDepth(int minDepth) { this.minDepth = minDepth; } GrowInitialiser(RandomNumberGenerator rng, GEGrammar gegrammar, int maxDepth);  GrowInitialiser(RandomNumberGenerator rng, GEGrammar gegrammar, Properties p); void setRNG(RandomNumberGenerator m); RandomNumberGenerator getRNG(); void setProperties(Properties p); Individual createIndividual(); int getMinDepth(); void setMinDepth(int minDepth); void setMaxDepth(int i); int getMaxDepth(); void doOperation(Individual operand); void doOperation(List<Individual> operands); Genotype getGenotype(int maxLength); boolean grow(NimbleTree<Symbol> dt);  }
@Test public void testSetMinDepth() { System.out.println("setMinDepth"); int minDepth = 1; gi1.setMinDepth(minDepth); assertEquals(gi1.getMinDepth(), minDepth); }