-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathHotelsTest.java
More file actions
39 lines (28 loc) · 844 Bytes
/
Copy pathHotelsTest.java
File metadata and controls
39 lines (28 loc) · 844 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
import static org.junit.jupiter.api.Assertions.*;
import java.util.ArrayList;
import java.util.UUID;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.jupiter.api.AfterEach;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
class HotelsTest {
//assertEquals(val1,val2)
//assertFalse(val)
//assertTrue(val)
//assertSame(val1,val2)
//assertNotSame(val1,val2)
//assertNull(val)
//assertNotNull(val)
private Hotels hotels = Hotels.getInstance();
private ArrayList<String> hotelAmenities = new ArrayList<>();
private ArrayList<String> roomAmenities = new ArrayList<>();
@Test
public void getInstance() {
assertEquals(true, true);
}
@Test
public void hotelSearchTest() {
assertNotNull(hotels.searchForHotel("Seattle", 4, 200, hotelAmenities, roomAmenities));
}
}