Sha256: a06dce0ac2bbfeaedef7327730659af4fd58af108519ca2703b0fea902a42e89

Contents?: true

Size: 674 Bytes

Versions: 2

Compression:

Stored size: 674 Bytes

Contents

Feature: Automobile Emissions Calculations
  The automobile model should generate correct emission calculations

  Scenario Outline: Standard Calculations for automobiles
    Given an automobile has "annual_distance_estimate" of "<distance>"
    And it has "timeframe" of "<timeframe>"
    And it has "model_year.name" of "<make_model_year>"
    When emissions are calculated
    Then the emission value should be within "0.1" kgs of "<emission>"
    Examples:
      | distance | make_model_year |  timeframe           | emission |
      |    30000 | Acura RSX 2003  | 2008-01-30/2009-05-20|   8706.4 |
      |    80000 | Honda FIT 2008  | 2008-01-30/2009-05-20|  23217.1 |

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
automobile-ruby19-0.0.13 features/automobile_emissions.feature
automobile-0.0.13 features/automobile_emissions.feature