OSDN Git Service

Merge branch '201312-KinPenalty' into wdoor-stable
[shogi-server/shogi-server.git] / test / TC_not_sennichite.rb
1 $:.unshift File.join(File.dirname(__FILE__), "..")
2 $topdir = File.expand_path File.dirname(__FILE__)
3 require "test/baseclient"
4 include Socket::Constants
5
6 class NotSennichiteTest < ReadFileClient
7   def test_oute_sennichite
8     csa = File.open(filepath("not_sennichite.csa")) {|f| f.read}
9     handshake(csa)
10     assert_no_match /#DRAW/, @p1.message
11     assert_no_match /#DRAW/, @p2.message
12     logout12
13   end
14 end # Client class
15