Ejemplo n.º 1
0
 public Subject(string name, Grades grades)
 {
     this.nameOfSubject = name;
     this.grades        = grades;
 }
Ejemplo n.º 2
0
        public void CountGradesOfTenTests()
        {
            var grades = new Grades(new int[] { 10, 8, 9, 10, 7, 7 });

            Assert.AreEqual(2, grades.CountGradesOfTen());
        }