Skip to content

Instantly share code, notes, and snippets.

@priyaaank
Last active August 29, 2015 14:04
Show Gist options
  • Select an option

  • Save priyaaank/e57389b1c256a6ac0299 to your computer and use it in GitHub Desktop.

Select an option

Save priyaaank/e57389b1c256a6ac0299 to your computer and use it in GitHub Desktop.

Revisions

  1. priyaaank revised this gist Aug 5, 2014. 1 changed file with 4 additions and 2 deletions.
    6 changes: 4 additions & 2 deletions MarsRoverTest.java
    Original file line number Diff line number Diff line change
    @@ -6,10 +6,12 @@ public void canProvideCurrentLocationAsString() {
    // a set of coordinates and plateau

    //When
    // we initialize the rover with coordinates and plateau
    // we initialize the
    // rover with coordinates and plateau

    //then
    // assert that current location is returned appropriately
    // assert that current location
    //is returned appropriately
    }

    @Test
  2. priyaaank created this gist Aug 5, 2014.
    38 changes: 38 additions & 0 deletions MarsRoverTest.java
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,38 @@
    public class MarsRoverTest {

    @Test
    public void canProvideCurrentLocationAsString() {
    //Given
    // a set of coordinates and plateau

    //When
    // we initialize the rover with coordinates and plateau

    //then
    // assert that current location is returned appropriately
    }

    @Test
    public void canRotateLeft() { }

    @Test
    public void canRotateRight() { }

    @Test
    public void canMove() { }

    @Test
    public void canRunCommandToRotateRight() { }

    @Test
    public void canRunCommandToRotateLeft() { }

    @Test
    public void canRunCommandToMove() { }

    @Test
    public void canRunCommandWithMultipleInstructions() { }

    @Test
    public void wontDriveOffPlateau() { }
    }