public void TestMaleCaculator() { CaloriesCalculator caloriesCalculator = new CaloriesCalculator(); var got = caloriesCalculator.CalculateCalories(110M, 5M, 1M, 12M, "Male"); var expected = 1606.2M; Assert.AreEqual(got, expected); }
public void WhenIPressCalculateBasicCalories() { CaloriesCalculator.Calculate_BasicCalories(user); }
public void WhenIPressCalculateActivityNeeds() { CaloriesCalculator.CalculateActivityNeeds(user, activity_factor); }
public void GivenIHaveEnteredMy(int activity_level) { user.GetActivity_Level = (User.Activity_Level)activity_level; activity_factor = CaloriesCalculator.Get_Activity_Factor(user); }