public void TestQueryModeSwitches1() { //Arrange oscillateA OS = new oscillateA(); int modeSwitches; //Act modeSwitches = OS.queryModeSwitches(); //Assert Assert.AreEqual(0, modeSwitches); }
public void TestQueryModeSwitches2() { //Arrange oscillateA OS = new oscillateA(); int modeSwitches; //Act OS.switchMode(); OS.switchMode(); modeSwitches = OS.queryModeSwitches(); //Assert Assert.AreEqual(2, modeSwitches); }