Sha256: b9808fb37a8c9ea4c42f092deb8e9ffda8ba8eea92bfd56abb68a477002ea8e2
Contents?: true
Size: 407 Bytes
Versions: 5
Compression:
Stored size: 407 Bytes
Contents
require 'rubygems' require 'test/unit' require 'shoulda' require 'mocha' $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../ext') require 'tuple' if not [].respond_to?(:shuffle) class Array def shuffle t_self = self.dup t_size = self.size result=[] t_size.times { result << t_self.slice!(rand(t_self.size)) } result end end end class Test::Unit::TestCase end
Version data entries
5 entries across 5 versions & 2 rubygems
Version | Path |
---|---|
ninjudd-tuple-0.0.11 | test/test_helper.rb |
ninjudd-tuple-0.1.0 | test/test_helper.rb |
ninjudd-tuple-0.1.1 | test/test_helper.rb |
tuple-0.1.2 | test/test_helper.rb |
tuple-0.1.1 | test/test_helper.rb |