Ejemplo n.º 1
0
        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());


        }
Ejemplo n.º 2
0
        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());
            
        }