def test_commit_score_threes(self, mock_input):
        argument1 = [2, 3, 3, 3, 6]
        argument2 = {
            'aces': -1,
            'twos': -1,
            'threes': -1,
            'fours': -1,
            'fives': -1,
            'sixes': -1,
            '3 of a kind': -1,
            '4 of a kind': -1,
            'full house': -1,
            'small straight': -1,
            'large straight': -1,
            'yahtzee': -1,
            'chance': -1,
            'yahtzee bonus': 0
        }
        commit_score(argument1, argument2)
        expected_outcome = {
            'aces': -1,
            'twos': -1,
            'threes': 9,
            'fours': -1,
            'fives': -1,
            'sixes': -1,
            '3 of a kind': -1,
            '4 of a kind': -1,
            'full house': -1,
            'small straight': -1,
            'large straight': -1,
            'yahtzee': -1,
            'chance': -1,
            'yahtzee bonus': 0
        }

        self.assertEqual(expected_outcome, argument2,
                         "Player wishes to score threes.")
 def test_commit_score_chance(self, mock_input):
     argument1 = [1, 1, 3, 4, 5]
     argument2 = {
         'aces': -1,
         'twos': -1,
         'threes': -1,
         'fours': -1,
         'fives': -1,
         'sixes': -1,
         '3 of a kind': -1,
         '4 of a kind': -1,
         'full house': -1,
         'small straight': -1,
         'large straight': -1,
         'yahtzee': -1,
         'chance': -1,
         'yahtzee bonus': 0
     }
     expected_outcome = {
         'aces': -1,
         'twos': -1,
         'threes': -1,
         'fours': -1,
         'fives': -1,
         'sixes': -1,
         '3 of a kind': -1,
         '4 of a kind': -1,
         'full house': -1,
         'small straight': -1,
         'large straight': -1,
         'yahtzee': -1,
         'chance': 14,
         'yahtzee bonus': 0
     }
     commit_score(argument1, argument2)
     self.assertEqual(expected_outcome, argument2,
                      "Player wishes to use their chance.")
 def test_commit_score_4_of_a_kind(self, mock_input):
     argument1 = [5, 5, 5, 5, 5]
     argument2 = {
         'aces': -1,
         'twos': -1,
         'threes': -1,
         'fours': -1,
         'fives': -1,
         'sixes': -1,
         '3 of a kind': -1,
         '4 of a kind': -1,
         'full house': -1,
         'small straight': -1,
         'large straight': -1,
         'yahtzee': -1,
         'chance': -1,
         'yahtzee bonus': 0
     }
     expected_outcome = {
         'aces': -1,
         'twos': -1,
         'threes': -1,
         'fours': -1,
         'fives': -1,
         'sixes': -1,
         '3 of a kind': -1,
         '4 of a kind': 25,
         'full house': -1,
         'small straight': -1,
         'large straight': -1,
         'yahtzee': -1,
         'chance': -1,
         'yahtzee bonus': 0
     }
     commit_score(argument1, argument2)
     self.assertEqual(expected_outcome, argument2,
                      "Player wishes to score four of a kind.")