-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtestresults.txt
More file actions
110 lines (102 loc) · 3.37 KB
/
testresults.txt
File metadata and controls
110 lines (102 loc) · 3.37 KB
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
TEST 1: We're going down, and a request is coming below. We continue down.
Elevator with 5 floors, traveltime is 10 and stoptime is 5.
No emergency.
Current floor is 3.
Direction is DOWN, will go DOWN next.
Stops requested at: (1).
Estimated arrival times:
Floor 4: 75 seconds. Path: (2 1 0 1 2 3 4)
> Floor 3: 0 seconds.
Floor 2: 10 seconds. Path: (2)
* Floor 1: 25 seconds. Path: (2 1)
Floor 0: 35 seconds. Path: (2 1 0)
Elevator with 5 floors, traveltime is 10 and stoptime is 5.
No emergency.
Current floor is 3.
Direction is DOWN, will go DOWN next.
Stops requested at: (1).
Estimated arrival times:
Floor 4: 75 seconds. Path: (2 1 0 1 2 3 4)
> Floor 3: 0 seconds.
Floor 2: 10 seconds. Path: (2)
* Floor 1: 25 seconds. Path: (2 1)
Floor 0: 35 seconds. Path: (2 1 0)
OK.
TEST 2: We're going down, and a request is coming above. We continue down before we go up again.
Elevator with 5 floors, traveltime is 10 and stoptime is 5.
No emergency.
Current floor is 3.
Direction is DOWN, will go DOWN next.
Stops requested at: (4).
Estimated arrival times:
* Floor 4: 70 seconds. Path: (2 1 0 1 2 3 4)
> Floor 3: 0 seconds.
Floor 2: 10 seconds. Path: (2)
Floor 1: 20 seconds. Path: (2 1)
Floor 0: 30 seconds. Path: (2 1 0)
OK.
TEST 3: We're going up, and a request is coming above. We continue up.
Elevator with 5 floors, traveltime is 10 and stoptime is 5.
No emergency.
Current floor is 2.
Direction is UP, will go UP next.
Stops requested at: (3).
Estimated arrival times:
Floor 4: 25 seconds. Path: (3 4)
* Floor 3: 10 seconds. Path: (3)
> Floor 2: 0 seconds.
Floor 1: 30 seconds. Path: (3 2 1)
Floor 0: 40 seconds. Path: (3 2 1 0)
OK.
TEST 4: We're going up with a request above. A request is coming below. We continue up.
Elevator with 5 floors, traveltime is 10 and stoptime is 5.
No emergency.
Current floor is 3.
Direction is UP, will go UP next.
Stops requested at: (4 2).
Estimated arrival times:
* Floor 4: 10 seconds. Path: (4)
> Floor 3: 0 seconds.
* Floor 2: 35 seconds. Path: (4 3 2)
Floor 1: 45 seconds. Path: (4 3 2 1)
Floor 0: 55 seconds. Path: (4 3 2 1 0)
OK.
TEST 5: We're going up with no requests above. We go down.
Elevator with 5 floors, traveltime is 10 and stoptime is 5.
No emergency.
Current floor is 2.
Direction is UP, will go DOWN next.
Stops requested : None.
Estimated arrival times:
Floor 4: 60 seconds. Path: (3 4)
Floor 3: 50 seconds. Path: (3)
> Floor 2: 0 seconds.
Floor 1: 10 seconds. Path: (1)
Floor 0: 20 seconds. Path: (1 0)
OK.
TEST 6: We're at ground level with no requests. We don't move.
Elevator with 5 floors, traveltime is 10 and stoptime is 5.
No emergency.
Current floor is 0.
Direction is DOWN, will go DOWN next.
Stops requested : None.
Estimated arrival times:
Floor 4: 40 seconds. Path: (1 2 3 4)
Floor 3: 30 seconds. Path: (1 2 3)
Floor 2: 20 seconds. Path: (1 2)
Floor 1: 10 seconds. Path: (1)
> Floor 0: 0 seconds.
OK.
TEST 7: Emergency has been pressed. The requests are cleared and we don't move.
Elevator with 5 floors, traveltime is 10 and stoptime is 5.
No emergency.
Current floor is 2.
Direction is UP, will go UP next.
Stops requested at: (3 1).
Estimated arrival times:
Floor 4: 25 seconds. Path: (3 4)
* Floor 3: 10 seconds. Path: (3)
> Floor 2: 0 seconds.
* Floor 1: 35 seconds. Path: (3 2 1)
Floor 0: 45 seconds. Path: (3 2 1 0)
OK.