Sha256: 0a0b1eefad2909dd2b62735197ceecafcbebcfc9810fa8415d051a6dd5baf9c7
Contents?: true
Size: 331 Bytes
Versions: 10
Compression:
Stored size: 331 Bytes
Contents
require 'minitest/autorun' 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
10 entries across 10 versions & 1 rubygems