public function testDraw() { $options = ['exclude' => ['Group1'], 'number' => 5]; $tarotDraw = new TarotDraw($this->tarotDeck, $options); $this->assertCount(5, $tarotDraw->draw()); }
public function testReset() { $this->tarotDraw->reset(); $expected = ['number' => 0, 'reversed' => true, 'shuffle' => true, 'include' => [], 'exclude' => []]; $this->assertContains($expected, $this->tarotDraw->config()); }