Sha256: 47c58860170dac5f5aff7f37a5c1e9a465e4f4a977e9d2291f03dea19c246ddf
Contents?: true
Size: 910 Bytes
Versions: 3
Compression:
Stored size: 910 Bytes
Contents
Feature: Bus Trip Emissions Calculations The bus trip model should generate correct emission calculations Scenario: Calculations for bus trip with nothing Given a bus trip has nothing When emissions are calculated Then the emission value should be within "0.01" kgs of "0.87" Scenario: Calculations for bus trip from distance Given a bus trip has "distance" of "100" When emissions are calculated Then the emission value should be within "0.01" kgs of "9.94" Scenario: Calculations for bus trip from duration Given a bus trip has "duration" of "60" When emissions are calculated Then the emission value should be within "0.01" kgs of "3.15" Scenario: Calculations for bus trip from bus class Given a bus trip has "bus_class.name" of "city transit" When emissions are calculated Then the emission value should be within "0.01" kgs of "2.64"
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
bus_trip-0.0.15 | features/bus_trip_emissions.feature |
bus_trip-0.0.14 | features/bus_trip_emissions.feature |
bus_trip-0.0.13 | features/bus_trip_emissions.feature |