|
|
@ -2,8 +2,10 @@ package hs.fulda.de.ci.exam.project; |
|
|
|
|
|
|
|
import org.junit.jupiter.api.Test; |
|
|
|
|
|
|
|
import java.sql.Time; |
|
|
|
import java.util.HashSet; |
|
|
|
|
|
|
|
import static hs.fulda.de.ci.exam.project.FlightStatus.InAir; |
|
|
|
import static org.assertj.core.api.Assertions.*; |
|
|
|
|
|
|
|
class FlightTest { |
|
|
@ -18,8 +20,8 @@ class FlightTest { |
|
|
|
|
|
|
|
Flight flight1 = new Flight("1", airport_fr, airport1_ist, 140); |
|
|
|
Flight flight2 = new Flight("2", airport1_ist, airport_fr, 120); |
|
|
|
|
|
|
|
FlightInstance fInstance1 = new FlightInstance(); |
|
|
|
Time today = Time.valueOf("13:45:40"); |
|
|
|
FlightInstance fInstance1 = new FlightInstance(today, "G15", InAir); |
|
|
|
|
|
|
|
@Test |
|
|
|
void getInstances_no_instance_should_be_equal() { |
|
|
|