Presentation is loading. Please wait.

Presentation is loading. Please wait.

CyberRail Planning and Navigation Jasper Nygaard & Rasmus Ask.

Similar presentations


Presentation on theme: "CyberRail Planning and Navigation Jasper Nygaard & Rasmus Ask."— Presentation transcript:

1 CyberRail Planning and Navigation Jasper Nygaard & Rasmus Ask

2 CyberRail let’s see - we both followed the specification to place the left rail precisely upon latitude 39? 27’ 15”

3 CyberRail Agenda Test setup Test Classes Cases –Case 1 –Case 2 –….

4 CyberRail Test Setup Test cases build on scenarios –Sunshine –Inactive route before travel –Inactive route during travel –… Logger handles the outputs TestBox handles the cases

5 CyberRail Test classes

6 CyberRail TestBox case 1 public case1 : () ==> seq of Logger`logType case1() == ( dcl c : CyberRail := new CyberRail(); dcl p : TokenDevice := new TokenDevice(4,c); dcl a : ActivePlanManager := new ActivePlanManager(c); dcl t : TransportPlan; c.addEventHandler(a); p.requestTransportPlan(mk_CyberRail`NavigationInput("A", "D", new Date(), new Date(),, 4)); p.routeTraveled(); return Logger`printLog(); );

7 CyberRail Case 1 - Sunshine Description: New transport plan Expected Result: Journey Traveled Result: Journey Traveled

8 CyberRail - Case 1

9 CyberRail Case 2 – Inactive before travel Description: New transport plan, route goes inactive Expected Result: New transport plan Result: New transport plan

10 CyberRail – Case 2

11 CyberRail Case 3

12 CyberRail – Case 3

13 CyberRail - Case 4

14 CyberRail - Case 5

15

16 CyberRail Status Test Setup Test Classes Cases


Download ppt "CyberRail Planning and Navigation Jasper Nygaard & Rasmus Ask."

Similar presentations


Ads by Google