Example #1
0
        public void TestAssignmentAverage()
        {
            Assignment assignment = new Assignment();

            assignment.AddGrades(new double[] { 50, 75, 100 });
            double result = assignment.CalculateAverage();

            Assert.Equal(75, result);
        }