public void EastDirection_has_correct_name() { // Act var direction = new EastDirection(); // Assert Assert.AreEqual("East", direction.Direction, "The travel direction was not correctly assigned."); }
public void EastDirection_has_correct_reverse_direction() { // Arrange var direction = new EastDirection(); // Act ITravelDirection reverseDirection = direction.GetOppositeDirection(); // Assert Assert.AreEqual("West", reverseDirection.Direction, "The opposite travel direction was not correctly returned."); }