Example #1
0
        public void ShouldSayIfCanSell(int[] input, string expectedResult)
        {
            var clerk  = new VasyaClerk();
            var result = clerk.CanSellToAll(input);

            result.Should().NotBeNullOrEmpty();
            result.Should().Be(expectedResult);
        }
Example #2
0
        public void ShouldHandleEmptyLine()
        {
            var clerk  = new VasyaClerk();
            var result = clerk.CanSellToAll(new int[0]);

            result.Should().NotBeNullOrEmpty();
            result.Should().Be(VasyaClerk.No);
        }