public void Test4_ReturnsDoesNotFit() { var parcelSorting = new ParcelSorting.ParcelSorting(); var result = parcelSorting.CanSortTheParcel(new List <int>() { 100, 35, 90, 35 }); Assert.AreEqual(DoesNotFit, result); }
public void Test2_ReturnsFits() { var parcelSorting = new ParcelSorting.ParcelSorting(); var result = parcelSorting.CanSortTheParcel(new List <int>() { 100, 35, 75, 50, 80, 100, 37 }); Assert.AreEqual(Fits, result); }
public void InputDoesNotHavePipeSizes_ReturnsNotEnoughData() { var parcelSorting = new ParcelSorting.ParcelSorting(); var result = parcelSorting.CanSortTheParcel(new List <int>() { 40, 50 }); Assert.AreEqual(NotEnoughData, result); }
public void Test1_ReturnsFits() { var parcelSorting = new ParcelSorting.ParcelSorting(); var result = parcelSorting.CanSortTheParcel(new List <int>() { 60, 120, 100, 75 }); Assert.AreEqual(Fits, result); }
public void FirstPipeSizeIsSmallerThanParcelWidth_ReturnsDoesNotFit() { var parcelSorting = new ParcelSorting.ParcelSorting(); var result = parcelSorting.CanSortTheParcel(new List <int>() { 100, 50, 45, 70 }); Assert.AreNotEqual(Fits, result); }