public void AddMark_Same_Rewritten()
        {
            Student student = new Student("Unset", "Unset", "Unset");

            student.AddMark("Math", 9, out bool rewritten1);
            student.AddMark("Math", 10, out bool rewritten2);
            Assert.IsTrue(student.Marks[0].Value == 10 && student.Marks.Count == 1);
        }
        public void AddMark_GreaterThanTen_Exception()
        {
            Student s1   = new Student("Unset", "Unset", "Unset");
            Mark    mark = new Mark {
                SubjectName = "Math", Value = 12
            };

            Assert.ThrowsException <ArgumentException>(() => s1.AddMark(mark, out bool rewritten));
        }