OSDN Git Service

Merge remote-tracking branch 'origin/wdoor-stable'
[shogi-server/shogi-server.git] / test / TC_compatible.rb
1 $:.unshift File.join(File.dirname(__FILE__), "..")
2
3 require 'test/unit'
4 require 'shogi_server'
5 require 'shogi_server/compatible'
6
7 class TestCompatibleArray < Test::Unit::TestCase
8   def test_sample
9     assert [1,2].include?([1,2].sample)
10   end
11 end