test/test_format.rb in numerals-0.2.0 vs test/test_format.rb in numerals-0.2.1
- old
+ new
@@ -1,9 +1,10 @@
require File.expand_path(File.join(File.dirname(__FILE__),'helper.rb'))
-include Numerals
require 'yaml'
class TestFormat < Test::Unit::TestCase # < Minitest::Test
+
+ include Numerals
def test_mutated_copy
f1 = Format[Rounding[precision: 3, base: 2]]
f2 = f1.set(rounding: :short)