• 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

Revision1b16641868d762e247944dd4be3991fa65eebc19 (tree)
Time2015-01-12 23:06:28
AuthorDaigo Moriwaki <daigo@debi...>
CommiterDaigo Moriwaki

Log Message

Get rid of a dupolicated method: test_kachi_good

Change Summary

Incremental Difference

--- a/test/TC_board.rb
+++ b/test/TC_board.rb
@@ -24,24 +24,6 @@ EOM
2424 assert_equal(true, b.good_kachi?(false))
2525 end
2626
27- def test_kachi_good
28- b = ShogiServer::Board.new
29- b.set_from_str(<<EOM)
30-P1+HI+HI+KA+KA+OU * * * *
31-P2+FU+FU+FU+FU+FU+FU * * *
32-P+00FU00FU
33-EOM
34- assert_equal(true, b.good_kachi?(true))
35-
36- b = ShogiServer::Board.new
37- b.set_from_str(<<EOM)
38-P8-HI-HI-KA-KA-OU * * * *
39-P9-FU-FU-FU-FU-FU-FU * * *
40-P-00FU
41-EOM
42- assert_equal(true, b.good_kachi?(false))
43- end
44-
4527 def test_kachi_bad
4628 b = ShogiServer::Board.new
4729 b.set_from_str(<<EOM)