public void howFarAwayAreYouWhenYouRepeatYouOldPointTest1() { EasterBunnyHeadquarters directions = new EasterBunnyHeadquarters(); int ans = directions.howFarAwayAreYouWhenYouRepeatYouOldPoint("R8, R4, R4, R8"); Assert.AreEqual(4, ans); }
public void getShortestPathTest2() { EasterBunnyHeadquarters directions = new EasterBunnyHeadquarters(); int ans = directions.getShortestPath("L2"); Assert.AreEqual(2, ans); }
public void getShortestPathTestSample3() { EasterBunnyHeadquarters directions = new EasterBunnyHeadquarters(); int ans = directions.getShortestPath("R5, L5, R5, R3"); Assert.AreEqual(12, ans); }
public void getShortestPathTest() { //arrange EasterBunnyHeadquarters directions = new EasterBunnyHeadquarters(); int ans = directions.getShortestPath(""); Assert.AreEqual(0, ans); }