[TASK] Added unit tests for the Timer class

This commit is contained in:
Jeroen Ketelaar
2018-01-03 11:05:00 +01:00
parent 9d1c4533ca
commit 3f0d8d64fe
2 changed files with 36 additions and 0 deletions
@@ -19,6 +19,16 @@ public class Timer {
this.end = System.currentTimeMillis() + end;
}
/**
* Timer Constructor
*
* @param end
*/
public Timer(long end, long start) {
this.start = start;
this.end = System.currentTimeMillis() + end;
}
/**
* Timer Constructor
*/