Beispiel #1
0
        public void RespondsToHasReachedScoreAsFalseWhenMaxScoreIsNotReached()
        {
            var queueScore = new SchedulerQueueScore(20);

            Assert.IsInstanceOf(typeof(SchedulerQueueScore), queueScore);
            Assert.False(queueScore.HasReachedScore(10));
        }
Beispiel #2
0
        public void RespondsToHasReachedScore()
        {
            var queueScore = new SchedulerQueueScore(20);

            Assert.IsInstanceOf(typeof(SchedulerQueueScore), queueScore);
            Assert.True(queueScore.HasReachedScore(20));
        }