def test_average_daily_usage(generated_consumption_history_1): ch,params = generated_consumption_history_1 meter = AverageDailyUsage() result = meter.evaluate(consumption_history=ch, fuel_type="electricity", fuel_unit_str="kWh") assert result["average_daily_usages"] is not None
def test_average_daily_usage(generated_consumption_data_1): cd, params = generated_consumption_data_1 meter = AverageDailyUsage() result = meter.evaluate_raw(consumption_data=cd, energy_unit_str="kWh") assert result["average_daily_usages"] is not None
def test_average_daily_usage(generated_consumption_data_1): cd,params = generated_consumption_data_1 meter = AverageDailyUsage() result = meter.evaluate_raw(consumption_data=cd, energy_unit_str="kWh") assert result["average_daily_usages"] is not None