public void PcsParameterCreationShouldPassWithTopScore()
        {
            List <IPcsIndividualParameters> weights = CreateListOfPcsWeightsAllInSpec("FATTY ALC", 500M, 40);
            PcsParameterTotals pcsParameter         = new PcsParameterTotals("FATTY ALC", weights, _pcsScoringRepository);

            pcsParameter.ProcessScores();

            Assert.AreEqual(2, pcsParameter.Score);
            Assert.AreEqual(100, pcsParameter.Percentage);
            Assert.AreEqual(40, pcsParameter.TotalChecked);
            Assert.AreEqual(40, pcsParameter.TotalInRangeCount);
            Assert.AreEqual("FATTY ALC", pcsParameter.Name);
            Assert.AreEqual(40, pcsParameter.Weights.Count);
        }
        public void PcsParameterCreationShouldPassWithScoreOf1()
        {
            List <IPcsIndividualParameters> weights = CreateListOfPcsWeightsAllInSpec("FATTY ALC", 500M, 40);

            weights.AddRange(CreateListOfPcsWeightsOutOfSpec("FATTY ALC", 500M, 11, 6));

            PcsParameterTotals pcsParameter = new PcsParameterTotals("FATTY ALC", weights, _pcsScoringRepository);

            pcsParameter.ProcessScores();

            Assert.AreEqual(1, pcsParameter.Score);
            Assert.AreEqual(78.43M, Decimal.Round(pcsParameter.Percentage, 2));
            Assert.AreEqual(51, pcsParameter.TotalChecked);
            Assert.AreEqual(40, pcsParameter.TotalInRangeCount);
            Assert.AreEqual("FATTY ALC", pcsParameter.Name);
            Assert.AreEqual(51, pcsParameter.Weights.Count);
        }