Sha256: 75f2d9ec92548194214da34c4b4628362f652a4e6baa7999c2f1857463e0b308
Contents?: true
Size: 1.76 KB
Versions: 2
Compression:
Stored size: 1.76 KB
Contents
Feature: Bus Trip Committee Calculations The bus trip model should generate correct committee calculations Scenario Outline: Distance from duration, distance estimate, and bus class Given a bus trip emitter And a characteristic "distance_estimate" of "<distance_estimate>" And a characteristic "duration" of "<duration>" And a characteristic "bus_class.name" of "<bus_class>" When the "bus_class" committee is calculated And the "distance" committee is calculated Then the conclusion of the committee should be "<distance>" Examples: | duration | distance_estimate | bus_class | distance | | 40 | | | 8 | | | 60 | | 60 | | | | regional coach | 8 | | | | city transit | 8 | Scenario Outline: Diesel consumed from distance and diesel intensity Given a bus trip emitter And a characteristic "distance_estimate" of "<distance_estimate>" And a characteristic "duration" of "<duration>" And a characteristic "bus_class.name" of "<bus_class>" When the "distance" committee is calculated And the "diesel_intensity" committee is calculated And the "diesel_consumed" committee is calculated Then the conclusion of the committee should be "<diesel_consumed>" Examples: | duration | distance_estimate | bus_class | diesel_consumed | | 40 | | regional coach | 5.03461 | | | 60 | city transit | 25.40316 | | | | regional coach | 5.03461 | | | | city transit | 3.04574 |
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bus_trip-0.0.12 | features/bus_trip_committees.feature |
bus_trip-0.0.11 | features/bus_trip_committees.feature |