Sha256: 8afb1748fd646e392f950022add09482ec8f4d959f6b7b9af0008609f3c873c8

Contents?: true

Size: 494 Bytes

Versions: 1

Compression:

Stored size: 494 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/enumerable/op_pow.rb
#
# Extracted Fri Feb 16 02:00:36 EST 2007
# Project.rb Test Extraction
#

require 'facets/core/enumerable/op_pow.rb'


  require 'test/unit'

  class TCEnumerable < Test::Unit::TestCase

    def test_op_pow
      a = [1,2,3] ** [4,5,6]
      assert_equal( [[1, 4],[1, 5],[1, 6],[2, 4],[2, 5],[2, 6],[3, 4],[3, 5],[3, 6]], a )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.8.49 test/lib/facets/core/enumerable/test_op_pow.rb