Sha256: b2d0d31e4c055a4742ba14f6e845fcf868710cf69773257d8465308e9000a30a
Contents?: true
Size: 492 Bytes
Versions: 1
Compression:
Stored size: 492 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/numeric/distance.rb # # Extracted Fri Feb 16 02:00:36 EST 2007 # Project.rb Test Extraction # require 'facets/core/numeric/distance.rb' require 'test/unit' class TCNumeric < Test::Unit::TestCase def test_distance assert_equal( 4, 10.distance(6) ) assert_equal( 2, 10.distance(8) ) assert_equal( -2, 7.distance(9) ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.8.49 | test/lib/facets/core/numeric/test_distance.rb |