Sha256: ff1a3a29caa80d98ca2ebf50925dd51d5fd00145de6b8cda3b67e0df439b9891

Contents?: true

Size: 445 Bytes

Versions: 1

Compression:

Stored size: 445 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/nano/integer/times_map.rb
#
# Extracted Fri Oct 28 14:20:18 EDT 2005
# Unit Tools Reap Test Extractor
#

require 'nano/integer/times_map.rb'


  require 'test/unit'

  class TCInteger < Test::Unit::TestCase

    def test_times_map
      a = 4
      b = a.times_map{ |i| i*2 }
      assert_equal( [0,2,4,6], b )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-0.9.0 test/lib/nano/integer/test_times_map.rb