Sha256: 28601291fa66d6a36de08553ee25c4c1a727128d61a6d16be4a75d71c8e00e84

Contents?: true

Size: 259 Bytes

Versions: 1

Compression:

Stored size: 259 Bytes

Contents

require 'test_helper'
include Indirizzo
class TestNumberHelper < Test::Unit::TestCase
  def test_expand_numbers
    num_list = ["5", "fifth", "five"]
    num_list.each {|n|
      assert_equal num_list, NumberHelper.expand_numbers(n).to_a.sort
    }
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
HornsAndHooves-indirizzo-0.1.7.1 test/test_number_helper.rb