public void TestMaclaurinSeriesAlgorithmSwitch() { //Arrange GraphDrawer graphDrawer = new GraphDrawer(); //Act graphDrawer.EnableAnalyticalMaclaurinSeries(); graphDrawer.EnableNewtonMaclaurinSeries(); //Assert Assert.AreEqual(graphDrawer.IsShowFunctionAnalyticalMaclaurinSeries, false); Assert.AreEqual(graphDrawer.IsShowFunctionNewtonMaclaurinSeries, true); }