public void TestResolveParents() { var testResult = new NoFuture.Rand.Domus.NorthAmerican(DateTime.Now.AddYears(-40), Gender.Female); Assert.IsNull(testResult.GetMother()); Assert.IsNull(testResult.GetFather()); testResult.ResolveParents(); Assert.IsNotNull(testResult.GetMother()); Assert.IsNotNull(testResult.GetFather()); }
public void TestNorthAmericanWithFamily() { var testResult = new NoFuture.Rand.Domus.NorthAmerican(DateTime.Now.AddYears(-40), Gender.Female, true, false ); Assert.IsNotNull(testResult.GetMother()); Assert.IsNotNull(testResult.GetFather()); }