Exemple #1
0
        public void ScoreTest()
        {
            var scorer = new BasicScoring();
            var score  = scorer.FinalizeScore(1000, 1000 * 2000, 1400);

            Assert.AreEqual(-100000, score);
        }
Exemple #2
0
        public void Scoring()
        {
            const int tests = 200;
            const int iters = 100;

            var s     = new BasicScoring();
            var score = s.FinalizeScore(tests, 10 * tests, 0);

            Assert.AreEqual(50 * 1000 + 1400 - 500u, score);
        }