public void TestZoomOutTwice() { //Arrange GraphDrawer graphDrawer = new GraphDrawer(); //Act graphDrawer.ZoomOutTwice(); //Assert Assert.AreEqual(graphDrawer.GetScale(), 25); }
public void TestScaleResetting() { //Arrange GraphDrawer graphDrawer = new GraphDrawer(); //Act graphDrawer.ZoomIn(); graphDrawer.ResetScale(); //Assert Assert.AreEqual(graphDrawer.GetScale(), 50); }