Sha256: b0f1fda9618e12a0ef9a9554fb965d7658cb2469a12ac5f39fc67084631ff688

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

require 'test_helper'

class Forecastr::WindTest < Minitest::Test

  def setup
    @wind = Forecastr::Wind.new(2.5, -37)
  end

  def test_speed_in_ms
    assert_equal @wind.speed, "2.5 m/s"
  end

  def test_direction
    assert_equal @wind.direction, "NNW"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
forecastr-0.1.5 test/forecastr/wind_test.rb