Ejemplo n.º 1
0
 /**
  * @test
  * @dataProvider provideAgilityOfRace
  *
  * @param string $race
  * @param string $subrace
  * @param int $maleAgility
  * @param int $femaleAgility
  */
 public function I_can_get_agility_of_any_race($race, $subrace, $maleAgility, $femaleAgility)
 {
     $racesTable = new RacesTable();
     self::assertSame($maleAgility, $racesTable->getMaleAgility(RaceCode::getIt($race), SubRaceCode::getIt($subrace)));
     self::assertSame($femaleAgility, $racesTable->getFemaleAgility(RaceCode::getIt($race), SubRaceCode::getIt($subrace), new FemaleModifiersTable()));
 }