test/test_si.rb in si-0.1.3 vs test/test_si.rb in si-0.1.4

- old
+ new

@@ -185,12 +185,13 @@ assert_equal '9.8765T', SI.convert(9876543210000, :length => 5) assert_equal 9876500000000, SI.revert('9.8765T') assert_equal 9876500000, SI.revert('9.8765G') assert_equal 9876500, SI.revert('9.8765M') assert_equal 9.8765 * 1024 ** 2, SI.revert('9.8765M', :base => 1024) + assert_equal 0.0000098765, SI.revert('9.8765μ') assert_equal 0.0098765, SI.revert('9.8765m') - assert_equal 0.0098765, SI.revert('9.8765m') assert_equal 9.8765, SI.revert('9.8765') + assert_equal 9.8765, SI.revert('9.8765xxxyyyzzz') assert_equal 0.0, SI.revert('hello') # FIXME end def test_rational assert_equal '12.345n', (12345 * (10 ** -12)).si(5)