Skip to content

Commit

Permalink
First broken test added, lets make it pass! :)
Browse files Browse the repository at this point in the history
  • Loading branch information
tirolo committed Jan 11, 2016
1 parent 1e95073 commit e459760
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions src/Tirolo.CodeKata.PlutoRover.Tests/PlutoRoverTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,19 @@ namespace Tirolo.CodeKata.PlutoRover.Tests
public class PlutoRoverTests
{
[Test]
public void Test()
public void Rover_Should_Move_Forward_And_Keep_Same_Heading_When_F_Command_Given()
{
Assert.IsTrue(true);
// Arrange
PlutoRover plutoRover = new PlutoRover();

// Act
plutoRover.ExecuteCommand("F");

// Assert
var actualPlutoRoverPosition = plutoRover.ReportPostition();
var expectedPlutoRoverPosition = "0,1,N";

Assert.AreEqual(expectedPlutoRoverPosition, actualPlutoRoverPosition);
}
}
}

0 comments on commit e459760

Please sign in to comment.