'Tests that users who see different problems in a split_test module instance are graded correctly.
This is the test case for a user in user partition group 0.'

def test_split_different_problems_group_0(self):

    self.split_different_problems_setup(self.user_partition_group_0)
    self.submit_question_answer('H2P1_GROUP0', {'2_1': 'Correct'})
    self.submit_question_answer('H2P2_GROUP0', {'2_1': 'Correct', '2_2': 'Incorrect', '2_3': 'Correct'})
    self.assertEqual(self.score_for_hw('homework1'), [1.0])
    self.assertEqual(self.score_for_hw('homework2'), [1.0, 2.0])
    self.assertEqual(self.earned_hw_scores(), [1.0, 3.0])
    homework_1_score = (1.0 / 2)
    homework_2_score = ((1.0 + 2.0) / 4)
    self.check_grade_percent(round(((homework_1_score + homework_2_score) / 2), 2))
