shogi-server source
Revision | 66e7c4522f3597aef4f23eabedd718734459a1e7 (tree) |
---|---|
Time | 2015-01-17 10:43:50 |
Author | Daigo Moriwaki <daigo@debi...> |
Commiter | Daigo Moriwaki |
Fix test failures related to MAX_MOVES and least time per move
@@ -48,9 +48,9 @@ P9+KY+KE+GI+KI+OU+KI+GI+KE+KY | ||
48 | 48 | + |
49 | 49 | 'rating:atmark_B@p1+275876e34cf609db118f3d84b799a790:atmark_W@p2+275876e34cf609db118f3d84b799a790 |
50 | 50 | +2726FU |
51 | -T1 | |
51 | +T0 | |
52 | 52 | -3334FU |
53 | -T1 | |
53 | +T0 | |
54 | 54 | %TORYO |
55 | 55 | 'P1-KY-KE-GI-KI-OU-KI-GI-KE-KY |
56 | 56 | 'P2 * -HI * * * * * -KA * |
@@ -115,9 +115,9 @@ P9+KY+KE+GI+KI+OU+KI+GI+KE+KY | ||
115 | 115 | + |
116 | 116 | 'rating:hc2p_hoge_B+275876e34cf609db118f3d84b799a790:hc2p_hoge_W+275876e34cf609db118f3d84b799a790 |
117 | 117 | +2726FU |
118 | -T1 | |
118 | +T0 | |
119 | 119 | -3334FU |
120 | -T1 | |
120 | +T0 | |
121 | 121 | %TORYO |
122 | 122 | 'P1-KY-KE-GI-KI-OU-KI-GI-KE-KY |
123 | 123 | 'P2 * -HI * * * * * -KA * |
@@ -10,8 +10,8 @@ class MaxMovesTest < ReadFileClient | ||
10 | 10 | def test_max_moves_draw |
11 | 11 | csa = File.open(filepath("max_moves_draw.csa")) {|f| f.read} |
12 | 12 | 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/) | |
15 | 15 | assert true |
16 | 16 | logout12 |
17 | 17 | end |