Sha256: c9c2265116209dba48a2698b132cee3a857155aa15b9500926dacc4cd2368b68

Contents?: true

Size: 885 Bytes

Versions: 4

Compression:

Stored size: 885 Bytes

Contents

Feature: Residence Emissions Calculations
  The residence model should generate correct emission calculations

  Scenario Outline: Standard Calculations for residence
    Given a residence has "zip_code.name" of "<zip_code>"
    And it has "floorspace_estimate" of "<floorspace>"
    And it has "residence_class.name" of "<residence_class>"
    And it has "urbanity.name" of "<urbanity>"
    And it has "dishwasher_use.name" of "<dishwasher_use>"
    When emissions are calculated
    Then the emission value should be within "0.1" kgs of "<emission>"
    Examples:
      | zip_code | floorspace | residence_class                                                                 | urbanity | dishwasher_use      | emission  |
      |    48915 |       1400 | Single-family detached house (a one-family house detached from any other house) |     City | 4 to 6 times a week | 6091.88178 |

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
residence-0.0.18 features/residence_emissions.feature
residence-0.0.17 features/residence_emissions.feature
residence-0.0.16 features/residence_emissions.feature
residence-0.0.15 features/residence_emissions.feature