001    package aima.test.search;
002    
003    import junit.framework.Test;
004    import junit.framework.TestSuite;
005    import aima.test.search.csp.AssignmentTest;
006    import aima.test.search.csp.DomainsTest;
007    import aima.test.search.csp.MapCSPTest;
008    import aima.test.search.eightpuzzle.EightPuzzleBoardMoveTest;
009    import aima.test.search.eightpuzzle.EightPuzzleBoardTest;
010    import aima.test.search.eightpuzzle.EightPuzzleSuccessorFunctionTest;
011    import aima.test.search.map.MapAgentTest;
012    import aima.test.search.map.MapEnvironmentTest;
013    import aima.test.search.map.MapStepCostFunctionTest;
014    import aima.test.search.map.MapSuccessorFunctionTest;
015    import aima.test.search.map.MapTest;
016    import aima.test.search.nqueens.NQueensBoardTest;
017    import aima.test.search.nqueens.NQueensFitnessFunctionTest;
018    import aima.test.search.nqueens.NQueensGoalTestTest;
019    import aima.test.search.nqueens.NQueensSuccessorFunctionTest;
020    import aima.test.search.online.LRTAStarAgentTest;
021    import aima.test.search.online.OnlineDFSAgentTest;
022    import aima.test.search.searches.AStarSearchTest;
023    import aima.test.search.searches.BidirectionalSearchTest;
024    import aima.test.search.searches.BreadthFirstSearchTest;
025    import aima.test.search.searches.DepthFirstSearchTest;
026    import aima.test.search.searches.DepthLimitedSearchTest;
027    import aima.test.search.searches.GreedyBestFirstSearchTest;
028    import aima.test.search.searches.IterativeDeepeningSearchTest;
029    import aima.test.search.searches.RecursiveBestFirstSearchTest;
030    import aima.test.search.searches.SimulatedAnnealingSearchTest;
031    import aima.test.search.searches.UniformCostSearchTest;
032    
033    /**
034     * @author Ravi Mohan
035     * 
036     */
037    
038    public class SearchTests {
039    
040            public static Test suite() {
041                    TestSuite suite = new TestSuite();
042                    suite.addTest(new TestSuite(AssignmentTest.class));
043                    suite.addTest(new TestSuite(AStarSearchTest.class));
044                    suite.addTest(new TestSuite(BidirectionalSearchTest.class));
045                    suite.addTest(new TestSuite(BreadthFirstSearchTest.class));
046                    suite.addTest(new TestSuite(DomainsTest.class));
047                    suite.addTest(new TestSuite(DepthFirstSearchTest.class));
048                    suite.addTest(new TestSuite(DepthLimitedSearchTest.class));
049                    suite.addTest(new TestSuite(EightPuzzleBoardTest.class));
050                    suite.addTest(new TestSuite(EightPuzzleBoardMoveTest.class));
051                    suite.addTest(new TestSuite(EightPuzzleSuccessorFunctionTest.class));
052                    suite.addTest(new TestSuite(FIFOQueueTest.class));
053                    suite.addTest(new TestSuite(GreedyBestFirstSearchTest.class));
054                    suite.addTest(new TestSuite(IterativeDeepeningSearchTest.class));
055                    suite.addTest(new TestSuite(LIFOQueueTest.class));
056                    suite.addTest(new TestSuite(LRTAStarAgentTest.class));
057                    suite.addTest(new TestSuite(MapAgentTest.class));
058                    suite.addTest(new TestSuite(MapCSPTest.class));
059                    suite.addTest(new TestSuite(MapEnvironmentTest.class));
060                    suite.addTest(new TestSuite(MapStepCostFunctionTest.class));
061                    suite.addTest(new TestSuite(MapSuccessorFunctionTest.class));
062                    suite.addTest(new TestSuite(MapTest.class));
063                    suite.addTest(new TestSuite(MisplacedTileHeuristicFunctionTest.class));
064                    suite.addTest(new TestSuite(NQueensBoardTest.class));
065                    suite.addTest(new TestSuite(NQueensFitnessFunctionTest.class));
066                    suite.addTest(new TestSuite(NQueensGoalTestTest.class));
067                    suite.addTest(new TestSuite(NQueensSuccessorFunctionTest.class));
068                    suite.addTest(new TestSuite(NodeTest.class));
069                    suite.addTest(new TestSuite(OnlineDFSAgentTest.class));
070                    suite.addTest(new TestSuite(QueueTest.class));
071                    suite.addTest(new TestSuite(RecursiveBestFirstSearchTest.class));
072                    suite.addTest(new TestSuite(SimulatedAnnealingSearchTest.class));
073                    suite.addTest(new TestSuite(UniformCostSearchTest.class));
074    
075                    return suite;
076            }
077    }