/**
  * @test
  * @dataProvider raceToAgility
  *
  * @param string $raceCode
  * @param int $agility
  */
 public function I_can_get_female_agility_of_any_race($raceCode, $agility)
 {
     $table = new FemaleModifiersTable();
     self::assertSame($agility, $table->getAgility($raceCode));
 }
Ejemplo n.º 2
0
 /**
  * @param RaceCode $raceCode
  * @param SubraceCode $subraceCode
  * @param FemaleModifiersTable $femaleModifiersTable
  * @return int
  */
 public function getFemaleAgility(RaceCode $raceCode, SubRaceCode $subraceCode, FemaleModifiersTable $femaleModifiersTable)
 {
     return $this->getMaleAgility($raceCode, $subraceCode) + $femaleModifiersTable->getAgility($raceCode);
 }