public void GetGoodGraphics_Should_ReturnStartVertical() { //setup SectionTypes section = SectionTypes.StartGrid; int direction = 0; int direction2 = 2; //Actions var result = Visualisatie.GetGoodGraphics(section, direction); var result2 = Visualisatie.GetGoodGraphics(section, direction2); //Assertions Assert.AreEqual(result, _startVertical); Assert.AreEqual(result2, _startVertical); }
public void GetGoodGraphics_Should_ReturnFinishHorizontal() { //setup SectionTypes section = SectionTypes.Finish; int direction = 1; int direction2 = 3; //Actions var result = Visualisatie.GetGoodGraphics(section, direction); var result2 = Visualisatie.GetGoodGraphics(section, direction2); //Assertions Assert.AreEqual(result, _finishHorizontal); Assert.AreEqual(result2, _finishHorizontal); }
public void GetGoodGraphics_Should_ReturnStraightHorizontal() { //setup SectionTypes section = SectionTypes.Straight; int direction = 1; int direction2 = 3; //Actions var result = Visualisatie.GetGoodGraphics(section, direction); var result2 = Visualisatie.GetGoodGraphics(section, direction2); //Assertions Assert.AreEqual(result, _horizontalTrack); Assert.AreEqual(result2, _horizontalTrack); }
public void GetGoodGraphics_Should_ReturnSouthToEast() { //setup SectionTypes section = SectionTypes.RightCorner; SectionTypes section2 = SectionTypes.LeftCorner; int direction = 0; int direction2 = 3; //Actions var result = Visualisatie.GetGoodGraphics(section, direction); var result2 = Visualisatie.GetGoodGraphics(section2, direction2); //Assertions Assert.AreEqual(result, _southToEast); Assert.AreEqual(result2, _southToEast); }