Sha256: 58cb2c9ed83d7f8304b91127574a858740a23026bb8025630555f4c9e6f4a6fd

Contents?: true

Size: 310 Bytes

Versions: 3

Compression:

Stored size: 310 Bytes

Contents

require 'test/unit'
require 'glue/number'

class TestCaseNumberUtils < Test::Unit::TestCase # :nodoc: all
  include Glue

  def setup
  end

  def teardown
  end

  def test_ceil_multiple
    assert_equal(20, NumberUtils.ceil_multiple(15, 10))
    assert_equal(10, NumberUtils.ceil_multiple(1, 10))
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
glue-0.21.0 test/glue/tc_numbers.rb
glue-0.21.2 test/glue/tc_numbers.rb
glue-0.22.0 test/glue/tc_numbers.rb