Sha256: a9e50c25aac2db048fe4b0f391058e2b0643cf4fafad496cbbb8bdc02d44678e

Contents?: true

Size: 764 Bytes

Versions: 7

Compression:

Stored size: 764 Bytes

Contents

Feature: Bus Trip Committee Calculations
  The bus trip model should generate correct committee calculations

  Scenario Outline: Standard Calculations for bus trip
    Given a bus trip has "distance" of "<distance_estimate>"
    And it used "duration" "<duration>"
    And it used "bus_class.name" "<bus_class>"
    When emissions are calculated
    Then the distance committee should be close to <distance>, +/-1
    Examples:
      | duration | distance_estimate | bus_class      | distance |
      |       40 |                   |                |       21 |
      |          |     60            |                |        8 |
      |          |                   | regional coach |       21 |
      |          |                   | city transit   |        8 |

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bus_trip-0.0.8 features/bus_trip_committees.feature
bus_trip-0.0.7 features/bus_trip_committees.feature
bus_trip-0.0.6 features/bus_trip_committees.feature
bus_trip-0.0.5 features/bus_trip_committees.feature
bus_trip-0.0.4 features/bus_trip_committees.feature
bus_trip-0.0.3 features/bus_trip_committees.feature
bus_trip-0.0.2 features/bus_trip_committees.feature