• 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

Revisión5c5a53f057b4e319ca2920f974d91dfe093f8268 (tree)
Tiempo2011-12-04 14:19:16
AutorDaigo Moriwaki <beatles@user...>
CommiterDaigo Moriwaki

Log Message

Corrected the test case: test_instance_game_name

Cambiar Resumen

Diferencia incremental

--- a/test/TC_floodgate.rb
+++ b/test/TC_floodgate.rb
@@ -24,12 +24,12 @@ class TestFloodgate < Test::Unit::TestCase
2424 end
2525
2626 def test_instance_game_name
27- fg = ShogiServer::League::Floodgate.new(nil, "floodgate-900-0")
28- assert(fg.game_name?("floodgate-900-0"))
29- assert(!fg.game_name?("floodgate-3600-0"))
30- fg = ShogiServer::League::Floodgate.new(nil, "floodgate-3600-0")
27+ fg = ShogiServer::League::Floodgate.new(nil, {:game_name => "floodgate-900-0"})
3128 assert(fg.game_name?("floodgate-900-0"))
3229 assert(!fg.game_name?("floodgate-3600-0"))
30+ fg = ShogiServer::League::Floodgate.new(nil, {:game_name => "floodgate-3600-0"})
31+ assert(!fg.game_name?("floodgate-900-0"))
32+ assert(fg.game_name?("floodgate-3600-0"))
3333 end
3434
3535 end