Answered step by step
Verified Expert Solution
Question
1 Approved Answer
/ / Test AirportLog Find Airport by State and Country @Test public void test _ 1 0 _ 5 ( ) { Airport airport 1
Test AirportLog Find Airport by State and Country
@Test
public void test
Airport airport new AirportDTW Detroit Metropolitan Airport, Detroit, MI USA, ;
Airport airport new AirportACV Arcata Airport,ArcataEureka CA USA ;
Airport airport new AirportAKN King Salmon Airport, King Salmon, AK USA, ;
Airport airport new Airport
"CMI, University of Illinois Willard Airport, ChampaignUrbana IL USA, ;
Airport airport new Airport MKG Muskegon County Airport, Muskegon, MI USA, ;
Airport airport new Airport MBS MBS International Airport, Saginaw, MI USA, ;
Airport airport new Airport
LAN, Capital Region International Airport Lansing Capital City Lansing, MI USA, ;
Airport airport new Airport IMT, Ford Airport Iron, MountainKingsford MI USA, ;
Airport airport new Airport
GRR Gerald R Ford International Airport, Grand Rapids, MI USA, ;
Airport airport new AirportFNT Bishop International Airport, Flint, MI USA, ;
Airport airport new Airport ESC, Delta County Airport, Escanaba, MI USA, ;
Airport airport new AirportBGM Greater Binghamton Airport, Binghamton, NY USA, ;
Airport airport new Airport
"BUF, Buffalo Niagara International Airport, Buffalo, NY USA, ;
ArrayList airports new ArrayList;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
AirportLog log new AirportLogTest Log airports;
AirportLog result logfindAirportAK "USA";
assertEqualsTest AirportLog Find Airport by State and Country Failed", result.size;
logaddAirportairport;
result logfindAirportNY "USA";
assertEqualsTest AirportLog Find Airport by State and Country Failed", result.size;
Test AirportLog Find Airport by Index
@Test
public void test
Airport airport new AirportDTW Detroit Metropolitan Airport, Detroit, MI USA, ;
Airport airport new AirportACV Arcata Airport,ArcataEureka CA USA ;
Airport airport new AirportAKN King Salmon Airport, King Salmon, AK USA, ;
Airport airport new Airport
"CMI, University of Illinois Willard Airport, ChampaignUrbana IL USA, ;
Airport airport new Airport MKG Muskegon County Airport, Muskegon, MI USA, ;
Airport airport new Airport MBS MBS International Airport, Saginaw, MI USA, ;
Airport airport new Airport
LAN, Capital Region International Airport Lansing Capital City Lansing, MI USA, ;
Airport airport new Airport IMT, Ford Airport Iron, MountainKingsford MI USA, ;
Airport airport new Airport
GRR Gerald R Ford International Airport, Grand Rapids, MI USA, ;
Airport airport new AirportFNT Bishop International Airport, Flint, MI USA, ;
Airport airport new Airport ESC, Delta County Airport, Escanaba, MI USA, ;
Airport airport new AirportBGM Greater Binghamton Airport, Binghamton, NY USA, ;
Airport airport new Airport
"BUF, Buffalo Niagara International Airport, Buffalo, NY USA, ;
ArrayList airports new ArrayList;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
airports.addairport;
AirportLog log new AirportLogTest Log airports;
assertSameTest AirportLog Find Airport by Index Failed", airport logfindAirport;
assertSameTest AirportLog Find Airport by Index Failed", airport logfindAirport;
Test AirportLog Find Airport by Index
@Test
public void test
Airport airport new AirportDTW Detroit Metropolitan Airport, Detroit, MI USA, ;
Airport airport new AirportACV Arcata Airport,ArcataEureka CA USA ;
Airport airport new AirportAKN King Salmon Airport, King Salmon, AK USA, ;
Airport airport new Airport
"CMI, U
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started