Example #1
0
 public function testGetAddAndRemoveFromPot()
 {
     $this->assertEquals(0, $this->table->getPotBalance());
     $this->table->addToPot(1000);
     $this->assertEquals(1000, $this->table->getPotBalance());
     $this->table->removeFromPot(200);
     $this->assertEquals(800, $this->table->getPotBalance());
 }