public void GetAllPowerProductionByYearTest_EndBeforeBeginYear() { PowerStatistic.GetAllPowerProductionByYear(2013, 2012); }
public void GetAllPowerProductionByYearTest_1Year() { var testResult = PowerStatistic.GetAllPowerProductionByYear(2000, 2000); Assert.AreEqual(testResult.Count, _ctx.PowerTypes.Count()); }
public void GetAllPowerProductionByYearTest_2Years() { var testResult = PowerStatistic.GetAllPowerProductionByYear(2017, 2018); Assert.AreEqual(testResult.Count, _ctx.PowerTypes.Count() * 2); }