Пример #1
0
        public void AddGradeTest()
        {
            int newGrade = 3;
            var grades   = new Grades(new int[] { 1, 2 });

            grades.AddGrade(newGrade);
            Assert.AreEqual(2, grades.GeneralAverage());
        }
Пример #2
0
 public void AddGrade(int newGrade)
 {
     grades.AddGrade(newGrade);
 }