Exemplo n.º 1
0
        public void TestCalculateMax()
        {
            // 1. Arrange
            studentGrades.Marks = statsMarks;
            int expectedMax = 100;

            // 2. Act
            studentGrades.CalculateMax();
            // 3. Assert
            Assert.AreEqual(expectedMax, studentGrades.Max);
        }