public void ModifyStudentLocation()
        {
            IStudentLogic studentOperations = DummyProvider.GetInstance.GetStudentOperations();
            int           nextStudentNumber = 1;

            #region Add students with subjects to the system
            var newStudent = new Student()
            {
                Document      = "1234567-8",
                Name          = Utility.GetRandomName(),
                LastName      = Utility.GetRandomLastName(),
                Location      = new Location(10.00, 15.1),
                StudentNumber = nextStudentNumber
            };
            studentOperations.AddStudent(newStudent);
            #endregion

            Location newStudentLocation = new Location(2.1, 5.6);
            var      modifyInput        = new ModifyStudentInput();
            modifyInput.NewLocation   = newStudentLocation;
            modifyInput.StudentNumber = nextStudentNumber;
            studentOperations.ModifyStudent(modifyInput);

            Student modifiedStudent = studentOperations.GetStudentByNumber(modifyInput.StudentNumber);

            Assert.IsTrue(modifiedStudent.GetLocation().Equals(newStudentLocation));
        }
        public void AddStudentCoordinates()
        {
            IStudentLogic studentOperations = DummyProvider.GetInstance.GetStudentOperations();

            string  documentNumber = "1234567-8";
            Student firstStudent   = new Student(Utility.GetRandomName(), Utility.GetRandomLastName(), documentNumber);

            studentOperations.AddStudent(firstStudent);

            Student  studentFound = studentOperations.GetStudentByDocumentNumber(documentNumber);
            double   latitud      = 1.2;
            double   longitud     = 2.2;
            Location location     = new Location(latitud, longitud);

            studentFound.SetLocation(location);

            Assert.IsTrue(studentFound.GetLocation().Equals(location));
        }