test/test_exp_setter.rb in numerals-0.2.0 vs test/test_exp_setter.rb in numerals-0.2.1

- old
+ new

@@ -1,10 +1,11 @@ require File.expand_path(File.join(File.dirname(__FILE__),'helper.rb')) require 'numerals' -include Numerals class TestExpSetter < Test::Unit::TestCase # < Minitest::Test + + include Numerals def check_setter(numeral, n=nil) adjust = Format::ExpSetter[numeral] adjust.integer_part_size = n if n "#{adjust.integer_part.join}.#{adjust.fractional_part.join}<#{adjust.repeat_part.join}>E#{adjust.exponent}"