示例#1
0
 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)
示例#2
0
 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)