private void DisplayLoadAndWeight() { Weight load = new Weight(); LoadDisplay(load.CalculateLoad(Player.PlayerClass.TotalScore.StrTotalScore, TotalWeight)); totalWeightTextBox.Text = TotalWeight.ToString(); }
public void GivenStrScoreAndWeightLoadReturned(int str, decimal weight, string expect) { Weight load = new Weight(); string actual = load.CalculateLoad(str, weight); Assert.AreEqual(expect, actual); }