Exemplo n.º 1
0
        public void IsCorrect_OutOfRangeValue_ReturnsFalse()
        {
            thePart = new GridPart(valuesWith7);
            bool expected = false;

            bool actual = thePart.IsCorrect();

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

            bool actual = thePart.IsCorrect();

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

            bool actual = thePart.IsCorrect();

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