public void first_row_columns_values_except_of_top_left_corner_should_be_prime_numbers()
        {
            var primeNumbers = new PrimeNumbersGenerator().Generate(_testPrimesCount);

            var primeTable = _primeTableGenerator.Generate(_testPrimesCount);
            var firstRowColumnValuesList = GetFirstRowColumnValues(primeTable);

            Assert.That(firstRowColumnValuesList, Is.EqualTo(primeNumbers));
        }
        public void inner_cell_values_should_be_products_of_their_first_columns_and_first_rows()
        {
            var primeTable = _primeTableGenerator.Generate(_testPrimesCount);
            var primeNumbers = new PrimeNumbersGenerator().Generate(_testPrimesCount);

            for (var rowIndex = 1; rowIndex <= _testPrimesCount; rowIndex++)
            {
                for (var columnIndex = 1; columnIndex <= _testPrimesCount; columnIndex++)
                {
                    var valueToCheck = primeNumbers[rowIndex - 1] * primeNumbers[columnIndex - 1];
                    Assert.That(primeTable[rowIndex, columnIndex], Is.EqualTo(valueToCheck));
                }
            }
        }