Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Flight Delay Prediction #48

Merged
merged 6 commits into from
Feb 20, 2020
Merged

Conversation

tsolakoua
Copy link
Member

Fixes #40

@tsolakoua tsolakoua changed the title initial commit for flight delay prediction Support for Flight Delay Prediction Feb 13, 2020
@tsolakoua tsolakoua marked this pull request as ready for review February 14, 2020 10:00
*
* <pre>
* Amadeus amadeus = Amadeus.builder("clientId", "secret").build();
* amadeus.travel.analytics;</pre>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

travel.predictions

.thenReturn(multiResponse);
FlightDelay flightDelay = new FlightDelay(client);
TestCase.assertNotNull(flightDelay.get());
TestCase.assertNotNull(flightDelay.get(params));
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the other unit test we check that the response's length is 2... I dont really remember why and if it is very useful... TestCase.assertEquals(flightOffersPrediction.post().length, 2);

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

At first I had this check, but I removed it because I didn't know if it was relevant to this test case.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

to be honest, I am not sure either...

@tsolakoua tsolakoua merged commit a075523 into master Feb 20, 2020
@tsolakoua tsolakoua deleted the flight-delay-prediction branch February 20, 2020 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Support for Flight Delay Prediction
2 participants