Ejemplo n.º 1
0
        public void AddAssignmentTesting()
        {
            // Arrange: Hardcoded assignmentid and weight of the assignment
            var assignmentid = "666";
            var weight       = 0.3;

            // Act: Get all the grades and add them
            _service.AddAssignment(assignmentid, weight);
            var result = _service.GetAssignmentFunc(666);

            // Assert: Check if the grade gets made
            Assert.IsNotNull(result);
        }