@Test
    public void canDetermineTheRowFitnessOfAGrid() {

        for (int sudokuPower = 1; sudokuPower < 10; sudokuPower++) {
            // all rows are valid but the first one
            for (int i = 0, size = sudoku.getGridLength(); i < size; i++) {
                if (i == 0)
                    continue;
                sudoku.randomizeRow(i);
            }
            assertThat(sudoku.determineRowFitness()).isEqualTo((sudoku.getGridLength() - 1f) / sudoku.getGridLength());
        }
    }