Sha256: 83c43d353b3afdddc9e37b23da11ffab9557b39f50a2f32e6366a142cf728cff

Contents?: true

Size: 537 Bytes

Versions: 2

Compression:

Stored size: 537 Bytes

Contents

Feature: Rail Trip Emissions Calculations
  The rail trip model should generate correct emission calculations

  Scenario Outline: Standard Calculations for rail trip
    Given a rail trip has "rail_class.name" of "<rail_class>"
    And it has "distance_estimate" of "<distance>"
    When emissions are calculated
    Then the emission value should be within "0.1" kgs of "<emission>"
    Examples:
      | rail_class    | distance | emission |
      | commuter rail |       50 |     13.9 |
      |    light rail |       12 |      6.0 |

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rail_trip-0.0.12 features/rail_trip_emissions.feature
rail_trip-0.0.11 features/rail_trip_emissions.feature