예제 #1
0
        public void IsCorrect_OutOfRangeValue_ReturnsFalse()
        {
            thePart = new GridPart(valuesWith7);
            bool expected = false;

            bool actual = thePart.IsCorrect();

            Assert.That(actual, Is.EqualTo(expected));
        }
예제 #2
0
        public void IsCorrect_CorrectValues_ReturnsTrue()
        {
            thePart = new GridPart(valuesCorrect);
            bool expected = true;

            bool actual = thePart.IsCorrect();

            Assert.That(actual, Is.EqualTo(expected));
        }
예제 #3
0
        public void IsCorrect_Contains0_ReturnsFalse()
        {
            thePart = new GridPart(valuesWith0);
            bool expected = false;

            bool actual = thePart.IsCorrect();

            Assert.That(actual, Is.EqualTo(expected));
        }