public function test_discard() { $Steampunked = new Steampunked\Steampunked(self::SEED); $Steampunked->setSize(6); $Steampunked->setPlayer("p1", "p2"); $oldChoice = $Steampunked->getChoices()[2]; $Steampunked->discard(2); $newChoice = $Steampunked->getChoices()[2]; $this->assertEquals($oldChoice == $newChoice, false); $Steampunked->newTurn(); $oldChoice = $Steampunked->getChoices()[3]; $Steampunked->discard(3); $newChoice = $Steampunked->getChoices()[3]; $this->assertEquals($oldChoice == $newChoice, false); }