Sha256: a2510ae7dc881c3ca109564d14e2f3b770aac36235cb7318fd27200a77746943
Contents?: true
Size: 304 Bytes
Versions: 27
Compression:
Stored size: 304 Bytes
Contents
require File.dirname(__FILE__) + '/../lib/yawast' require File.dirname(__FILE__) + '/base' class TestStringExtensions < Minitest::Test include TestBase def test_valid_number assert_equal '42'.is_number?, true end def test_invalid_number assert_equal '4two'.is_number?, false end end
Version data entries
27 entries across 27 versions & 1 rubygems