public void GetRunScore_2runsRun2()
        {
            var cont = new RoundContestant();

            cont.EnsureListsAreInitialized();
            cont.RunJudgings.Add(new RunJudging()
            {
                Score = 5, RunNo = 1
            });
            cont.RunJudgings.Add(new RunJudging()
            {
                Score = 10, RunNo = 1
            });
            cont.RunJudgings.Add(new RunJudging()
            {
                Score = 8, RunNo = 2
            });
            cont.RunJudgings.Add(new RunJudging()
            {
                Score = 10, RunNo = 2
            });

            var score = cont.GetRunScore(2, 2);

            Assert.AreEqual(9M, score);
        }
        public void GetRunScore_NullJudgement_NullAvgScore()
        {
            var cont = new RoundContestant();

            cont.EnsureListsAreInitialized();
            cont.RunJudgings.Add(new RunJudging()
            {
                Score = null, RunNo = 1
            });
            var result = cont.GetRunScore(1, 1);

            Assert.IsNull(result);
        }