def test_flight_path_simulate_fly(self):
        updateFlightPath = FlightPath(route=self.str_route,
                                      aircraftICAOcode='A320',
                                      RequestedFlightLevel=330,
                                      cruiseMach=0.82,
                                      takeOffMassKilograms=68000.0,
                                      windSpeedMetersPerSecond=25 *
                                      Knots2MetersPerSecond,
                                      windDirectionDegrees=25)

        # fly from index 4 for the new route
        updateFlightPath.simulateFly(4, self.str_route)
        # fly from index 4 for the new route, with speed 260 and altitude 10000
        updateFlightPath.simulateFly(4, self.str_route, 260, 10000.0)
    def test_route_a320_charles_de_gaulle_lisbonne(self):

        print("=========== Flight Plan start  =========== ")

        strRoute = 'ADEP/LFPG/26R-LAIGLE-ROLEN-PEPON-KURIS-TERPO-ERIGA-INBAB-ATLEN-DEVAR-ASTURIAS-KUVAN-BISMU-BARKO-FATIMA-ADES/LPPT/03'

        flightPath = FlightPath(route=strRoute,
                                aircraftICAOcode='A320',
                                RequestedFlightLevel=330,
                                cruiseMach=0.82,
                                takeOffMassKilograms=68000.0,
                                windSpeedMetersPerSecond=25 *
                                Knots2MetersPerSecond,
                                windDirectionDegrees=25)

        # If we want to generate the whole flight using the old code, use the .computeFlight function
        flightPath.computeFlight(deltaTimeSeconds=1.0)
        flightPath.createFlightOutputFiles()

        # If we want to fly through the flight and generate the configuration for later fly, use .fly()
        flyAndGenerateConfig = FlightPath(route=strRoute,
                                          aircraftICAOcode='A320',
                                          RequestedFlightLevel=330,
                                          cruiseMach=0.82,
                                          takeOffMassKilograms=68000.0,
                                          windSpeedMetersPerSecond=25 *
                                          Knots2MetersPerSecond,
                                          windDirectionDegrees=25)
        flyAndGenerateConfig.fly()

        # If we want to simulate the fly based on previous configuration, use .simulateFly
        strRoute = 'ADEP/LFPG/26R-LAIGLE-ROLEN-PEPON-KURIS-TERPO-ERIGA-INBAB-ATLEN-DEVAR-ASTURIAS-KUVAN-BISMU-BARKO-ADES/LPPT/03'
        updateFlightPath = FlightPath(route=strRoute,
                                      aircraftICAOcode='A320',
                                      RequestedFlightLevel=330,
                                      cruiseMach=0.82,
                                      takeOffMassKilograms=68000.0,
                                      windSpeedMetersPerSecond=25 *
                                      Knots2MetersPerSecond,
                                      windDirectionDegrees=25)

        # fly from index 4 for the new route
        updateFlightPath.simulateFly(4, strRoute)
        # fly from index 4 for the new route, with speed 260 and altitude 10000
        updateFlightPath.simulateFly(4, strRoute, 260, 10000.0)