You are a tester tasked with creating comprehensive test cases for a given usecase description.

## Usecase description

{
    "name": "MissionControl Map Tracking",
    "scenario": "The rover tracks all visited positions during execution so that MissionControl can recreate the path.",
    "actors": "MissionControl",
    "preconditions": "The rover is landed on the plateau at position (0,0)",
    "steps": [
        "MissionControl sends a movement command to the rover",
        "Rover executes each movement command (F, B, L, R)",
        "Rover records each visited position in order",
        "MissionControl calls a method to retrieve the full path history",
        "The system returns the sequence of all visited coordinates"
    ]
}

## Testcase

[
    {
        "name": "Path Tracking with No Obstacles",
        "description": "Verify that the rover records all visited positions when no obstacles are present",
        "input": {
            "command": "FFRFF"
        },
        "expected": {
            "executedCommands": "FFRFF",
            "path": [
                [0, 0],
                [0, 1],
                [0, 2],
                [1, 2],
                [2, 2],
                [3, 2]
            ]
        }
    },
    {
        "name": "Path Tracking Stops at Obstacle",
        "description": "Verify that the rover records the path until just before an obstacle is detected",
        "input": {
            "command": "FFRFF"
        },
        "expected": {
            "executedCommands": "FFR",
            "path": [
                [0, 0],
                [0, 1],
                [0, 2],
                [1, 2]
            ]
        }
    },
    {
        "name": "Path Tracking with Backward Movement",
        "description": "Verify that backward movements are correctly added to the path",
        "input": {
            "command": "FFLBB"
        },
        "expected": {
            "executedCommands": "FFLBB",
            "path": [
                [0, 0],
                [0, 1],
                [0, 2],
                [-1, 2],
                [-2, 2]
            ]
        }
    }
]