public void TestGetEvaluationScore() { var evaluationTemplate = Samples.CompleteEvaluation; evaluationTemplate.QuestionList.ToList()[0].Score = 10; evaluationTemplate.QuestionList.ToList()[1].Score = 0; var calculator = new MathParserCalculator(evaluationTemplate); var expected = 10; var actual = calculator.GetEvaluationScore(); Assert.Equal(expected, actual); }