Beispiel #1
0
def test_get_food_most_calories_smaller_population():
    """Extra test to prevent hardcoding the return value"""
    df_breakfast = df[df['Category'] == 'Breakfast']

    actual = get_food_most_calories(df_breakfast)
    expected = 'Big Breakfast with Hotcakes (Large Biscuit)'
    assert actual == expected
Beispiel #2
0
def test_get_food_most_calories():
    actual = get_food_most_calories()
    expected = 'Chicken McNuggets (40 piece)'
    assert actual == expected