private void when_asked_to_create_child() { var random = new TestRandomSource(_randomToReturn); _strategy.SetRandomSource(random); _result = _strategy.CreateChild(_parentA, _parentB, null); }
private void when_asked_to_create_child() { var random = new TestRandomSource(_randomToReturn); _strategy = new RandomStrategy(_length); _strategy.SetRandomSource(random); _result = _strategy.CreateChild(null, null, _geneSet); }