Beispiel #1
0
        public void TestGetVillagerKiledFailed()
        {
            VillagerReport report = new VillagerReport();
            Witch          witch  = new Witch();

            witch.KillHistory = report.GetVillagerKilled(0);
            Assert.IsNull(witch.KillHistory);
        }
Beispiel #2
0
        public void TestGetPeopleKilledOnYearBornFailed()
        {
            VillagerReport report = new VillagerReport();
            Witch          witch  = new Witch();

            witch.KillHistory = report.GetVillagerKilled(0);
            int peoplekilled = report.GetPeopleKilledOnYearBorn(witch, 5);

            Assert.AreEqual(peoplekilled, -1);
        }