+class TestForkCommand < Test::Unit::TestCase
+ def setup
+ @player = MockPlayer.new
+ end
+
+ def test_new_buoy_game_name
+ src = "%%FORK server+denou-14400-60+p1+p2+20130223185013"
+ c = ShogiServer::ForkCommand.new src, @player, "server+denou-14400-60+p1+p2+20130223185013", nil, 13
+ c.decide_new_buoy_game_name
+ assert_equal "buoy_denou_13-14400-60", c.new_buoy_game
+ end
+end
+
+#
+#