Exemplo n.º 1
0
 public function ensure_hand_multiplier()
 {
     $onePair = new Hand($this->one_pair());
     $twoPair = new Hand($this->two_pairs());
     $handSearch = new HandSearch();
     $this->assertGreaterThan($onePair->getFaceValue(), $twoPair->getFaceValue());
 }
Exemplo n.º 2
0
 public function test_it_contains_up_to_five_cards()
 {
     $hand = new Hand(...StaticFixtures::getFlush());
     $this->assertLessThanOrEqual(5, count($hand->getCards()));
 }