public void NorthDirection_has_correct_name() { // Act var direction = new NorthDirection(); // Assert Assert.AreEqual("North", direction.Direction, "The travel direction was not correctly assigned."); }
public void NorthDirection_has_correct_reverse_direction() { // Arrange var direction = new NorthDirection(); // Act ITravelDirection reverseDirection = direction.GetOppositeDirection(); // Assert Assert.AreEqual("South", reverseDirection.Direction, "The opposite travel direction was not correctly returned."); }