Sha256: 1ddebc5119d377eae73bc14e2cb4dac060d177478b10064486880e3f8062c6ae
Contents?: true
Size: 692 Bytes
Versions: 1
Compression:
Stored size: 692 Bytes
Contents
# _____ _ # |_ _|__ ___| |_ # | |/ _ \/ __| __| # | | __/\__ \ |_ # |_|\___||___/\__| # # for lib/facets/core/numeric/ceil_multiple.rb # # Extracted Wed Aug 23 18:22:52 EDT 2006 # Unit Tools Reap Test Extractor # require 'facets/core/numeric/ceil_multiple.rb' require 'test/unit' class TCNumeric < Test::Unit::TestCase def test_ceil_multiple assert_equal( 12.3, 12.3.ceil_multiple(0.1) ) assert_equal( 12.4, 12.31.ceil_multiple(0.1) ) assert_equal( 13, 12.3.ceil_multiple(1) ) assert_equal( 13, 12.31.ceil_multiple(1) ) assert_equal( 20, 12.3.ceil_multiple(10) ) assert_equal( 20, 12.31.ceil_multiple(10) ) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
facets-1.7.30 | test/lib/facets/core/numeric/test_ceil_multiple.rb |