public void ItHasAValidConstructor() { var parentSelection = new StochasticUniversalSamplingSelection(); parentSelection.Setup(_pool, GATestHelper.GetTravelingSalesmanDefaultConfiguration()); parentSelection.GetParents(); }
public void ItCanGetAValidParent() { var parentSelection = new StochasticUniversalSamplingSelection(); parentSelection.Setup(_pool, GATestHelper.GetTravelingSalesmanDefaultConfiguration()); var parent = parentSelection.GetParent(0.22); Assert.IsNotNull(parent); }