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