public void Test13_The_Pause_Clock_Hides_After_Reset() { ExercisePage page = new ExercisePage(); page.Timer = -1; page.TestTimerTick(); bool expect = false; bool actual = page.ISPauClkShow; Assert.AreEqual(expect, actual); }
public void Test11_Whether_Clock_Is_Reseted() { ExercisePage page = new ExercisePage(); page.Timer = -1; page.TestTimerTick(); int expect = 10; int actual = page.Timer; Assert.AreEqual(expect, actual); }
public void Test12_The_Start_Clock_Shows_After_Reset() { ExercisePage page = new ExercisePage(); page.Timer = -1; page.TestTimerTick(); bool expect = true; bool actual = page.IsStrClkShow; Assert.AreEqual(expect, actual); }
public void Test10_Stop_Of_Video() { ExercisePage page = new ExercisePage(); page.Timer = 0; page.TestTimerTick(); string expect = "stop"; string actual = page.State; Assert.AreEqual(expect, actual); }