Sha256: 8269a706fb17971261974318b9ccc4520fde063e251101b0faaff374739efe05
Contents?: true
Size: 308 Bytes
Versions: 1
Compression:
Stored size: 308 Bytes
Contents
require 'test_helper' class Forecastr::TemperatureTest < Minitest::Test def setup @temperature = Forecastr::Temperature.new(306.11) end def test_to_celsius assert_equal @temperature.to_celsius, 32.96 end def test_to_farenheit assert_equal @temperature.to_farenheit, 91.33 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
forecastr-0.1.5 | test/forecastr/temperature_test.rb |