main
 1Feature: Navigation
 2  In order to deploy a squad of robotic rovers are to be landed by NASA on a plateau on Mars.
 3  As a NASA employee
 4  I want to find out the final coordinates.
 5
 6  Scenario Outline: Navigate a rover
 7    Given the plateau is <x> by <y>
 8    And the starting position is '<starting_position>'
 9    And I move "<instructions>"
10    When I tell the rover to travel
11    Then the rovers final position should be '<result>' on the screen.
12
13    Examples:
14      | x | y | starting_position | instructions  | result |
15      | 5 | 5 | 1 2 N             | LMLMLMLMM     | 1 3 N  |
16      | 5 | 5 | 3 3 E             | MMRMMRMRRM    | 5 1 E  |
17      | 5 | 5 | 3 3 E             | MmRmMrMrRm    | 5 1 E  |
18      | 1 | 1 | 0 0 N             | M    | 0 1 N  |
19      | 1 | 1 | 0 0 E             | M    | 1 0 E  |
20      | 1 | 1 | 0 0 W             | M    | 1 0 W  |
21      | 1 | 1 | 0 0 S             | M    | 0 1 S  |
22      | 1 | 1 | 1 0 N             | M    | 1 1 N  |
23      | 1 | 1 | 1 0 E             | M    | 0 0 E  |
24      | 1 | 1 | 1 0 W             | M    | 0 0 W  |
25      | 1 | 1 | 1 0 S             | M    | 1 1 S  |
26      | 1 | 1 | 1 1 N             | M    | 1 0 N  |
27      | 1 | 1 | 1 1 E             | M    | 0 1 E  |
28      | 1 | 1 | 1 1 W             | M    | 0 1 W  |
29      | 1 | 1 | 1 1 S             | M    | 1 0 S  |
30      | 1 | 1 | 0 1 N             | M    | 0 0 N  |
31      | 1 | 1 | 0 1 E             | M    | 1 1 E  |
32      | 1 | 1 | 0 1 W             | M    | 1 1 W  |
33      | 1 | 1 | 0 1 S             | M    | 0 0 S  |
34      | 1 | 1 | 0 0 N             | m    | 0 1 N  |
35      | 1 | 1 | 0 0 N             | l    | 0 0 W  |
36      | 1 | 1 | 0 0 N             | r    | 0 0 E  |