Sha256: d84aae769722c0ba5e86dc13c0e239556e771b8f5ee2cde84521b3502bc46a69
Contents?: true
Size: 209 Bytes
Versions: 7
Compression:
Stored size: 209 Bytes
Contents
require 'facets/integer/length' require 'test/unit' class TC_Integer < Test::Unit::TestCase def test_length (0..10).each do |power| assert((10 ** power).length == (power + 1)) end end end
Version data entries
7 entries across 7 versions & 1 rubygems