コード例 #1
0
 public function testAttackTransfer()
 {
     $move = new \Mastercoding\Conquest\Move\AttackTransfer();
     $move->setPlayerName('test');
     $move->addAttackTransfer(1, 3, 3);
     $move->addAttackTransfer(1, 4, 2);
     // output
     $this->assertEquals('test attack/transfer 1 3 3,test attack/transfer 1 4 2', $move->toString());
 }