Exemplo n.º 1
0
        public void ThenNoticeCreditsAndCheckItWithCreditsPerFunt()
        {
            Dictionary <double, int> eurosPercents  = generalP.GetCredits();
            List <double>            euroPerCredits = generalP.GetEuroPerCredit();
            int i = 0;

            foreach (KeyValuePair <double, int> keyValue in eurosPercents)
            {
                Assert.AreEqual(Math.Round(euroPerCredits[i], 2), ((double)keyValue.Value) / 100);
                i++;
            }
            _scenarioContext.Add("eurosPercentsCredits", eurosPercents);
        }