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