Sha256: 0c636cfabd7e507cc4b83c10836cbb865b4cdd1da2af2ff93075e2f652ba546b

Contents?: true

Size: 304 Bytes

Versions: 9

Compression:

Stored size: 304 Bytes

Contents

# :nodoc: all

require "test/unit"
require "glue/number"

class TC_N_NumberUtils < Test::Unit::TestCase
	# :nodoc: all

	def setup
	end

	def teardown
	end

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

end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
glue-0.13.0 test/glue/tc_numbers.rb
glue-0.14.0 test/glue/tc_numbers.rb
glue-0.15.0 test/glue/tc_numbers.rb
nitro-0.10.0 test/glue/tc_numbers.rb
nitro-0.11.0 test/glue/tc_numbers.rb
nitro-0.12.0 test/glue/tc_numbers.rb
nitro-0.8.0 test/glue/tc_numbers.rb
nitro-0.9.3 test/glue/tc_numbers.rb
nitro-0.9.5 test/glue/tc_numbers.rb