test/test_si.rb in si-0.1.0 vs test/test_si.rb in si-0.1.1
- old
+ new
@@ -174,7 +174,11 @@
end
def test_edge_cases
assert_equal '9.0000T', 9000000000001.si(:length => 5)
end
+
+ def test_shortcut
+ assert_equal '123.5M', 123450000.si(4)
+ end
end