public void ShouldSayIfCanSell(int[] input, string expectedResult) { var clerk = new VasyaClerk(); var result = clerk.CanSellToAll(input); result.Should().NotBeNullOrEmpty(); result.Should().Be(expectedResult); }
public void ShouldHandleEmptyLine() { var clerk = new VasyaClerk(); var result = clerk.CanSellToAll(new int[0]); result.Should().NotBeNullOrEmpty(); result.Should().Be(VasyaClerk.No); }