use of org.liberty.android.fantastischmemo.entity.SchedulingAlgorithmParameters in project AnyMemo by helloworld1.
the class DefaultSchedulerTest method setUp.
@Override
public void setUp() throws Exception {
super.setUp();
defaultScheduler = new DefaultScheduler(new SchedulingAlgorithmParameters(getContext()));
newCardLearningData = new LearningData();
failedCardLearningData = new LearningData();
failedCardLearningData.setAcqReps(1);
failedCardLearningData.setNextLearnDate(new Date(new Date().getTime() - 1000000));
failedCardLearningData.setGrade(0);
learnedCardLearningData = new LearningData();
learnedCardLearningData.setAcqReps(1);
learnedCardLearningData.setNextLearnDate(new Date(new Date().getTime() + 1000000));
learnedCardLearningData.setGrade(5);
forReviewCardLearningData = new LearningData();
forReviewCardLearningData.setAcqReps(2);
forReviewCardLearningData.setNextLearnDate(new Date(new Date().getTime() - 1000000));
forReviewCardLearningData.setGrade(5);
}
Aggregations