Sha256: c3a0c1fddb8c35a4ec31e88ff69be7004d4a8a305a852a543280098fda382a23

Contents?: true

Size: 751 Bytes

Versions: 8

Compression:

Stored size: 751 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 "<annual_distance>"
    And it has "model_year.name" "<make_model_year>"
    And it has "acquisition" "<acquisition>"
    And it has "retirement" "<retirement>"
    When emissions are calculated
    Then the emission value should be within 0.1 kgs of <emission>
    Examples:
      | annual_distance | make_model_year | acquisition | retirement | emission |
      |           30000 | Acura RSX 2003  | 2008-01-30  | 2009-05-15 |      123 |
      |           30000 | Honda FIT 2008  | 2008-01-30  | 2009-05-15 |      123 |

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
automobile-0.0.12 features/automobile_emissions.feature
automobile-0.0.11 features/automobile_emissions.feature
automobile-0.0.10 features/automobile_emissions.feature
automobile-0.0.9 features/automobile_emissions.feature
automobile-0.0.8 features/automobile_emissions.feature
automobile-0.0.7 features/automobile_emissions.feature
automobile-0.0.5 features/automobile_emissions.feature
automobile-0.0.4 features/automobile_emissions.feature