Sha256: 6e70bdd941934707ff01ad2bc70c90cbd9a100d34a5e88a8f192a259a10d2afe
Contents?: true
Size: 404 Bytes
Versions: 3
Compression:
Stored size: 404 Bytes
Contents
require File.expand_path(__FILE__).sub(%r(/test/.*), '/test/test_helper.rb') require File.expand_path(__FILE__).sub(%r(.*/test/), '').sub(/test_(.*)\.rb/,'\1') class TestMiscHelper < Test::Unit::TestCase def test_divide assert_equal 2, Misc.divide(%w(1 2 3 4 5 6 7 8 9),2).length end def test_ordered_divide assert_equal 5, Misc.ordered_divide(%w(1 2 3 4 5 6 7 8 9),2).length end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
scout-essentials-1.6.2 | test/scout/misc/test_helper.rb |
scout-essentials-1.6.1 | test/scout/misc/test_helper.rb |
scout-essentials-1.6.0 | test/scout/misc/test_helper.rb |