コード例 #1
0
ファイル: StateTest.php プロジェクト: mattsches/Jeopardy
 public function test_it_returns_array_of_players_who_have_not_buzzed()
 {
     $state = new State(new FinalJeopardyClue("mock_category", "mock_clue", "mock_answer"), ["one", "two", "three"]);
     $this->assertEquals(["one", "two", "three"], $state->getMissingBets());
 }
コード例 #2
0
ファイル: Board.php プロジェクト: sky7sea/Jeopardy
 public function getFinalJeopardyClue()
 {
     return $this->finalJeopardyState->getClue();
 }