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