def test_min_group_scorer(self): self.assertEqual((50, 100, 'OK'), utils.min_group_scorer(self.g_results_ok)) self.assertEqual((0, 100, 'WA'), utils.min_group_scorer(self.g_results_wrong)) with self.assertRaises(utils.UnequalMaxScores): utils.min_group_scorer(self.g_results_unequal_max_scores)
def test_min_group_scorer(self): self.assertEqual((50, 'OK'), utils.min_group_scorer(self.g_results_ok)) self.assertEqual((0, 'WA'), utils.min_group_scorer(self.g_results_wrong))