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