uk.co.keang.sudoku.solver
Class MatchingGroupsSolverTest

java.lang.Object
  extended by uk.co.keang.sudoku.solver.MatchingGroupsSolverTest

public class MatchingGroupsSolverTest
extends java.lang.Object

Author:
A.G.Docherty If there is N cells (2,3 or 4) containing only N common numbers, then all these numbers can be excluded from all other cells.

Constructor Summary
MatchingGroupsSolverTest()
           
 
Method Summary
 void setUp()
           
 void testFindSolutionsBlocks()
          Test method for ZeroChoiceSolver.findSolutions().
 void testFindSolutionsColumns()
          Test method for ZeroChoiceSolver.findSolutions().
 void testFindSolutionsRows()
          Test method for ZeroChoiceSolver.findSolutions().
 void testFindSolutionsRowsQuad()
          Test method for ZeroChoiceSolver.findSolutions().
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MatchingGroupsSolverTest

public MatchingGroupsSolverTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception

testFindSolutionsRows

public void testFindSolutionsRows()
                           throws IllegalGridException
Test method for ZeroChoiceSolver.findSolutions().

Throws:
IllegalGridException

testFindSolutionsColumns

public void testFindSolutionsColumns()
                              throws IllegalGridException
Test method for ZeroChoiceSolver.findSolutions().

Throws:
IllegalGridException

testFindSolutionsBlocks

public void testFindSolutionsBlocks()
                             throws IllegalGridException
Test method for ZeroChoiceSolver.findSolutions().

Throws:
IllegalGridException

testFindSolutionsRowsQuad

public void testFindSolutionsRowsQuad()
                               throws IllegalGridException
Test method for ZeroChoiceSolver.findSolutions().

Throws:
IllegalGridException