Sha256: 8b98b37332c73fd4e6781cdf311b30fe03d26591ba90643ae568b98e8886d63e
Contents?: true
Size: 309 Bytes
Versions: 1
Compression:
Stored size: 309 Bytes
Contents
require 'test_helper' class Forecastr::TemperatureConverterTest < Minitest::Test def test_celsius_conversion assert_equal Forecastr::TemperatureConverter.to_celsius(273.15), 0 end def test_farenheit_conversion assert_equal Forecastr::TemperatureConverter.to_farenheit(278), 40.73 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
forecastr-0.1.5 | test/forecastr/temperature_converter_test.rb |