public void HerbivoreLosesWeightTest() { /*Description*/ var rng = new Random(); var testHerb = new Herbivore(rng); var presetWeight = 100; testHerb.Weight = presetWeight; testHerb.UpdateWeight(); var amountToLose = presetWeight * testHerb.Params.Eta; Assert.True(presetWeight > testHerb.Weight); Assert.True(presetWeight - testHerb.Weight == amountToLose); }