public void TestUpdateCreature() { Creature cOne = new Creature(); Creature cTWo = new Creature(); string NAME = "Balzeria"; string CLASSIFICATION = "Republic"; List <Creature> CREATURES = new List <Creature>() { cOne, cTWo }; Society society = new Society(NAME, CLASSIFICATION, CREATURES); int cTwoAlphaRaceValue = cTWo.Genetics.Alpha.Race.Value; int VARIATION = ExtensionMethods.GetRandom(1, 5); cTWo.Genetics.Alpha.Race.Value += VARIATION; Assert.IsTrue(society.UpdateCreature(cTWo)); Creature cTwoChangeCheck; Assert.IsTrue(society.GetCreatures(cTWo, out cTwoChangeCheck)); Assert.AreNotEqual(cTwoAlphaRaceValue, cTwoChangeCheck.Genetics.Alpha.Race.Value); Assert.AreEqual(cTwoAlphaRaceValue + VARIATION, cTwoChangeCheck.Genetics.Alpha.Race.Value); }