public void TestXYSwitch() { //Arrange GraphDrawer graphDrawer = new GraphDrawer(); //Act graphDrawer.HideXY(); graphDrawer.ShowXY(); //Assert Assert.AreEqual(graphDrawer.IsShowXY, true); }