features/motorcycle_committees.feature in motorcycle-0.0.9 vs features/motorcycle_committees.feature in motorcycle-0.0.10
- old
+ new
@@ -1,10 +1,12 @@
Feature: Motorcycle Committee Calculations
The motorcycle model should generate correct committee calculations
- Scenario Outline: Fuel consumption committee
- Given a motorcycle has "annual_distance_estimate" of "<distance>"
- When emissions are calculated
- Then the fuel_consumed committee should be close to <fuel_consumption>, +/-1
+ Scenario Outline: Fuel consumed committee
+ Given a motorcycle emitter
+ And a characteristic "distance" of "<distance>"
+ And a characteristic "fuel_efficiency" of "<fuel_efficiency>"
+ When the "fuel_consumed" committee is calculated
+ Then the conclusion of the committee should be "<fuel_consumption>"
Examples:
- | distance | fuel_consumption |
- | 1001 | 38 |
+ | distance | fuel_efficiency | fuel_consumption |
+ | 1001 | 22.1 | 45 |