Added City JUnit Tests

This commit is contained in:
YaFedImYaEatIm
2016-09-18 23:54:31 +12:00
parent 02c3e3ed99
commit a0959e8de6
2 changed files with 72 additions and 1 deletions
+3 -1
View File
@@ -138,7 +138,9 @@ public class City {
* @param index
*/
public void delAirport(int index) {
airports.remove(index);
if (airports.size() > index) {
airports.remove(index);
}
}
@Override
public String toString(){