public void ParsesSouth() { IDirectionParser parser = new StandardDirectionParser(); Assert.AreEqual(Direction.S, parser.GetDirection("1 1 S")); }
public void ParsesWest() { IDirectionParser parser = new StandardDirectionParser(); Assert.AreEqual(Direction.W, parser.GetDirection("1 1 W")); }
public void ParsesNorth() { IDirectionParser parser = new StandardDirectionParser(); Assert.AreEqual(Direction.N, parser.GetDirection("1 1 N")); }