public void RunTimer() { _vocabularyMode.AddOneSecond(); if (_vocabularyMode.TimeText == DEAD_LINE) { _isTimeUp = true; } }
public void RestTimerTest() { VocabularyMode target = new VocabularyMode(); // TODO: 初始化為適當值 for(int i =0;i<4324;i++) target.AddOneSecond(); target.RestTimer(); Assert.AreEqual("00:00:00", target.TimeText); }