Sha256: 0aa5a552b7e7d3f3a3f39ba8464bba9235001c2b9b6e146801a4d40e6c99038f

Contents?: true

Size: 722 Bytes

Versions: 1

Compression:

Stored size: 722 Bytes

Contents

Feature: Flight Emissions Calculations
  The flight model should generate correct emission calculations

  Scenario Outline: Standard Calculations for origin/destination airport, airline, and aircraft
    Given a flight has "origin_airport.iata_code" of "<source>"
    And it has "destination_airport.iata_code" of "<dest>"
    And it has "airline.iata_code" of "<airline>"
    And it has "date" of "<date>"
    And it used "aircraft.bts_aircraft_type_code" "<aircraft>"
    When emissions are calculated
    Then the emission value should be within 1 kgs of <emission>
    Examples:
      | source | dest | airline | date       | aircraft | emission |
      | DCA    | JFK  | AA      | 2010-06-25 | 1        | 1153     |

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
flight-0.0.18 features/flight_emissions.feature