• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

shogi-server source


Commit MetaInfo

Revision66e7c4522f3597aef4f23eabedd718734459a1e7 (tree)
Time2015-01-17 10:43:50
AuthorDaigo Moriwaki <daigo@debi...>
CommiterDaigo Moriwaki

Log Message

Fix test failures related to MAX_MOVES and least time per move

Change Summary

Incremental Difference

--- a/test/TC_functional.rb
+++ b/test/TC_functional.rb
@@ -48,9 +48,9 @@ P9+KY+KE+GI+KI+OU+KI+GI+KE+KY
4848 +
4949 'rating:atmark_B@p1+275876e34cf609db118f3d84b799a790:atmark_W@p2+275876e34cf609db118f3d84b799a790
5050 +2726FU
51-T1
51+T0
5252 -3334FU
53-T1
53+T0
5454 %TORYO
5555 'P1-KY-KE-GI-KI-OU-KI-GI-KE-KY
5656 'P2 * -HI * * * * * -KA *
@@ -115,9 +115,9 @@ P9+KY+KE+GI+KI+OU+KI+GI+KE+KY
115115 +
116116 'rating:hc2p_hoge_B+275876e34cf609db118f3d84b799a790:hc2p_hoge_W+275876e34cf609db118f3d84b799a790
117117 +2726FU
118-T1
118+T0
119119 -3334FU
120-T1
120+T0
121121 %TORYO
122122 'P1-KY-KE-GI-KI-OU-KI-GI-KE-KY
123123 'P2 * -HI * * * * * -KA *
--- a/test/TC_max_moves_draw.rb
+++ b/test/TC_max_moves_draw.rb
@@ -10,8 +10,8 @@ class MaxMovesTest < ReadFileClient
1010 def test_max_moves_draw
1111 csa = File.open(filepath("max_moves_draw.csa")) {|f| f.read}
1212 handshake(csa)
13- @p1.wait(/#MAX_MOVES_DRAW\n#DRAW/)
14- @p2.wait(/#MAX_MOVES_DRAW\n#DRAW/)
13+ @p1.wait(/#MAX_MOVES\n#CENSORED/)
14+ @p2.wait(/#MAX_MOVES\n#CENSORED/)
1515 assert true
1616 logout12
1717 end