Sha256: 29f51ba8d3bd8bb8c4c5b34e36c6df421d0484cb69c8000790053ae00c70c962

Contents?: true

Size: 312 Bytes

Versions: 2

Compression:

Stored size: 312 Bytes

Contents

# :nodoc: all

require "test/unit"
require "n/utils/number"

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

	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

2 entries across 2 versions & 1 rubygems

Version Path
nitro-0.2.0 test/n/utils/tc_number.rb
nitro-0.3.0 test/n/utils/tc_number.rb