Example #1
0
        public void TorsoTrefferpunkteBerechnenStrategy(int konstitution, int expectedTp)
        {
            var koerper = new KoerperTeileCollection();

            koerper.Torso.BerechneTrefferpunkte(konstitution);

            Assert.Equal(expectedTp, koerper.Torso.MaxTrefferPunkte);
        }
Example #2
0
        public void ConstructKoerper_KoerperHasBeinLinks()
        {
            var koerper = new KoerperTeileCollection();
            var id      = ImagoEntitaetFactory.GetNewEntitaet(ImagoKoerperTeil.BeinLinks);

            Assert.NotNull(koerper.BeinLinks);
            Assert.Equal(id, koerper.BeinLinks.Identifier);
        }