public void WhenThereIsNoNeed() { MedCarouselNeedStrategy strategy = new MedCarouselNeedStrategy(); int need = strategy.DetermineNeed(GetInventoryLevelObject(10, 40, 10, 10)); Assert.AreEqual(0, need); }
public void WhenNeededQuantityIsGreaterThanAnEvenlyDivisibleByPackageSize() { MedCarouselNeedStrategy strategy = new MedCarouselNeedStrategy(); int need = strategy.DetermineNeed(GetInventoryLevelObject(4, 40, 10, 10)); Assert.AreEqual(4, need); }