Example #1
0
 /**
  * Check tests are working
  */
 public function testAddAndRemoveChips()
 {
     $this->player->addChips(500);
     $this->assertEquals(500, $this->player->getBalance());
     $this->player->removeChips(100);
     $this->assertEquals(400, $this->player->getBalance());
     $this->player->addChips(1000);
     $this->assertEquals(1400, $this->player->getBalance());
 }