public Slicer(int minIngridients, int maxPieces) { _maxPieces = maxPieces; _minPieces = minIngridients * 2; InitSliceShapes(_minPieces, _maxPieces); _sliceValidator = new SliceValidator(minIngridients, maxPieces); }
public SliceValidatorUnitTests() { var ingredients = new[, ] { { 1, 1, 1, 1, 1 }, { 1, -1, -1, -1, 1 }, { 1, 1, 1, 1, 1 } }; _sut = new SliceValidator(ingredients, 2, 6); }