public void TestDerivativeAlgorithmSwitch2() { //Arrange GraphDrawer graphDrawer = new GraphDrawer(); //Act graphDrawer.SwitchDerivativeAlgorithm(); //Assert Assert.AreEqual(graphDrawer.IsShowFunctionAnalyticalDerivative, true); Assert.AreEqual(graphDrawer.IsShowFunctionNewtonDerivative, false); }