public void SouthCardinalPointGetTurnedRightCardinalPoint_WhenFunctionCalled_ShouldTypeWestCardinalPoint() { //act ICardinalPoint newCardinalPoint = _southCardinalPoint.GetTurnedRightCardinalPoint(); //assert Assert.AreEqual(typeof(WestCardinalPoint), newCardinalPoint.GetType()); }
public void GetCardinalPoint_WhenCharIsW_ShouldWestCardinalPointType() { //act ICardinalPoint cardinalPoint = _factory.GetCardinalPoint('W'); //assert Assert.AreEqual(typeof(WestCardinalPoint), cardinalPoint.GetType()); }
public void EastCardinalPointGetTurnedLeftCardinalPoint_WhenFunctionCalled_ShouldTypeNorthCardinalPoint() { //act ICardinalPoint newCardinalPoint = _eastCardinalPoint.GetTurnedLeftCardinalPoint(); //assert Assert.AreEqual(typeof(NorthCardinalPoint), newCardinalPoint.GetType()); }
public void GetCardinalPoint_WhenCharIsN_ShouldSouthCardinalPointType() { //act ICardinalPoint cardinalPoint = _factory.GetCardinalPoint('S'); //assert Assert.AreEqual(typeof(SouthCardinalPoint), cardinalPoint.GetType()); }