public void TestFunctionSwitch() { //Arrange GraphDrawer graphDrawer = new GraphDrawer(); //Act graphDrawer.HideFunction(); graphDrawer.ShowFunction(); //Assert Assert.AreEqual(graphDrawer.IsShowFunction, true); }