Пример #1
0
        public void CheckValue_ManyLemons_ShouldReturnNotEmpty()
        {
            //Arrange
            Lemon lemon = new Lemon();

            bool result;
            bool expectedResult = false;

            //Act
            result = lemon.CheckEmpty(1230498112341234, 1);
            //Assert
            Assert.AreEqual(expectedResult, result);
        }
Пример #2
0
        public void CheckValue_NoLemons_ShouldReturnEmpty()
        {
            //Arrange
            Lemon lemon = new Lemon();

            bool result;
            bool expectedResult = true;

            //Act
            result = lemon.CheckEmpty(0, 1);
            //Assert
            Assert.AreEqual(expectedResult, result);
        }