public void CalorieCalculationTest() { //testing if calculations for TDEE and Calorie based on BMI var food = new DietPlanFunctions(); Assert.True(food.Calorie()); }
public void GetDetails() { //get BMI to pass to decision tree and calculations var food = new DietPlanFunctions(); Assert.True(food.GetUserDetails()); }
public void PositiveFoodsTest() { //testing if only foods with decision='positive' are returned var food = new DietPlanFunctions(); Assert.True(food.checkFood()); }
public void APITest() { //testing nutitionix api response var food = new DietPlanFunctions(); Assert.True(food.testAPI("https://trackapi.nutritionix.com/v2/natural/nutrients", "oatmeal")); }