Exemplo n.º 1
0
 public void GetAllPowerProductionByYearTest_EndBeforeBeginYear()
 {
     PowerStatistic.GetAllPowerProductionByYear(2013, 2012);
 }
Exemplo n.º 2
0
        public void GetAllPowerProductionByYearTest_1Year()
        {
            var testResult = PowerStatistic.GetAllPowerProductionByYear(2000, 2000);

            Assert.AreEqual(testResult.Count, _ctx.PowerTypes.Count());
        }
Exemplo n.º 3
0
        public void GetAllPowerProductionByYearTest_2Years()
        {
            var testResult = PowerStatistic.GetAllPowerProductionByYear(2017, 2018);

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