Пример #1
0
 public void GetAllPowerProductionByYearTest_EndBeforeBeginYear()
 {
     PowerStatistic.GetAllPowerProductionByYear(2013, 2012);
 }
Пример #2
0
        public void GetAllPowerProductionByYearTest_1Year()
        {
            var testResult = PowerStatistic.GetAllPowerProductionByYear(2000, 2000);

            Assert.AreEqual(testResult.Count, _ctx.PowerTypes.Count());
        }
Пример #3
0
        public void GetAllPowerProductionByYearTest_2Years()
        {
            var testResult = PowerStatistic.GetAllPowerProductionByYear(2017, 2018);

            Assert.AreEqual(testResult.Count, _ctx.PowerTypes.Count() * 2);
        }