示例#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);
        }