OSDN Git Service

Backported 87d145bd1f1a14a33f5f6fbc78b63a1952f1ca90 and 2df8c798aeb7f0e77735e893fd137...
[shogi-server/shogi-server.git] / test / TC_not_sennichite.rb
1 require "baseclient"
2 include Socket::Constants
3
4 class NotSennichiteTest < ReadFileClient
5   def test_oute_sennichite
6     csa = File.open(filepath("not_sennichite.csa")) {|f| f.read}
7     handshake(csa)
8     assert_no_match /#DRAW/, @p1.message
9     assert_no_match /#DRAW/, @p2.message
10     logout12
11   end
12 end # Client class
13