Sha256: b214fc9fe31f22c2f20c694faf0d2eae9d44eb41401f415ce1e1c27bc53a5228

Contents?: true

Size: 475 Bytes

Versions: 1

Compression:

Stored size: 475 Bytes

Contents

#  _____         _
# |_   _|__  ___| |_
#   | |/ _ \/ __| __|
#   | |  __/\__ \ |_
#   |_|\___||___/\__|
#
# for lib/facets/core/comparable/cmp.rb
#
# Extracted Wed Aug 23 18:22:52 EDT 2006
# Unit Tools Reap Test Extractor
#

require 'facets/core/comparable/cmp.rb'


  require 'test/unit'

  class TCComparable < Test::Unit::TestCase

    def test_cmp
      assert_equal( -1, 3.cmp(4) )
      assert_equal(  0, 3.cmp(3) )
      assert_equal(  1, 3.cmp(2) )
    end

  end


Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
facets-1.7.30 test/lib/facets/core/comparable/test_cmp.rb