Sha256: 5173b436a7a0ebbcc9c1563a7455b51fadfa5929ef89f0b95af8364148b116e9

Contents?: true

Size: 634 Bytes

Versions: 1

Compression:

Stored size: 634 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facet/comparable/at_least.rb
#
# Extracted Wed Jan 25 11:25:39 EST 2006
# Unit Tools Reap Test Extractor
#

require 'facet/comparable/at_least.rb'


  require 'test/unit'

  class TCComparable < Test::Unit::TestCase

    def test_at_most
      assert_equal( 3, 3.at_most(4) )
      assert_equal( 4, 4.at_most(4) )
      assert_equal( 4, 5.at_most(4) )
    end

    def test_at_least
      assert_equal( 4, 3.at_least(4) )
      assert_equal( 4, 4.at_least(4) )
      assert_equal( 5, 5.at_least(4) )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.0.3 packages/core/test/lib/facet/comparable/test_at_least.rb