public void Count_theInterruptiions() { Pomodoro target = new Pomodoro(1254); // TODO: Initialize to an appropriate value target.Start(); target.Pause(); target.Start(); Assert.AreEqual(1, target.Interruptions); }
public void Stop_WithOutStart() { Pomodoro target = null; try { target = new Pomodoro(); // TODO: Initialize to an appropriate value target.Stop(); Assert.Fail("Exception is not thrown."); } catch (Exception exp) { Assert.IsTrue(0 != target.Minutes); } }
public void Constructor_WithOutMinutes() { Pomodoro target = new Pomodoro(); // TODO: Initialize to an appropriate value Assert.AreEqual(25 * 60, target.Minutes); }