public void TestDerivativeSwitch() { //Arrange GraphDrawer graphDrawer = new GraphDrawer(); //Act graphDrawer.HideDerivative(); graphDrawer.ShowDerivative(); //Assert Assert.AreEqual(graphDrawer.IsShowFunctionDerivative, true); }