def test_add_two_marks_to_a_student(self): sidorov = StudentMarks([3, 3, 4, 3]) sidorov.add_new_marks([5, 4]) self.assertEqual([3, 3, 4, 3, 5, 4], sidorov.marks)
def test_correct_add_mark_to_a_student(self): sidorov = StudentMarks([3, 3, 4, 3]) sidorov.add_new_marks([5]) self.assertEqual([3, 3, 4, 3, 5], sidorov.marks)