Implement additional UI tests

This commit is contained in:
2017-06-02 14:45:06 -04:00
parent ead87519b1
commit 28f095e56a
6 changed files with 115 additions and 24 deletions

View File

@@ -33,8 +33,6 @@ public abstract class ScoreList implements Iterable<Score>
protected ModelObservable observable;
protected Double todayValue = null;
/**
* Creates a new ScoreList for the given habit.
* <p>
@@ -71,8 +69,7 @@ public abstract class ScoreList implements Iterable<Score>
*/
public double getTodayValue()
{
if(todayValue == null) todayValue = getValue(DateUtils.getStartOfToday());
return todayValue;
return getValue(DateUtils.getStartOfToday());
}
/**

View File

@@ -78,7 +78,6 @@ public class MemoryScoreList extends ScoreList
list.removeAll(discard);
todayValue = null;
getObservable().notifyListeners();
}