Skip to content

Commit

Permalink
feat: guard against missing values due to missing page
Browse files Browse the repository at this point in the history
  • Loading branch information
ronaldtse committed Mar 28, 2024
1 parent 732e2eb commit 911d0b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/atmospheric/isa_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@
calc = isa.send(method_name, geopotential_h)
calc = calc.round(decimal_places) if !decimal_places.nil?

# Some values are missing due to missing page in original document
# See https://github.com/metanorma/iso-2533/issues/9
expect(expected_value).to_not be_nil

# For variable :n, the calculated value is an integer, but the tests
# have it as a float, so we need to convert the calculated value to
# float
Expand Down

0 comments on commit 911d0b3

Please sign in to comment.