public void TestQueryModeSwitches2() { //Arrange arithS AS = new arithS(); int modeSwitches; //Act AS.switchMode(); AS.switchMode(); modeSwitches = AS.queryModeSwitches(); //Assert Assert.AreEqual(2, modeSwitches); }
public void TestSwitchModes2() { //Arrange arithS AS = new arithS(); string mode; //Act AS.switchMode(); AS.switchMode(); mode = AS.getMode(); //Assert Assert.AreEqual("stuck", mode); }