org.sat4j
Class SingleSolutionTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.sat4j.SingleSolutionTest
All Implemented Interfaces:
junit.framework.Test

public class SingleSolutionTest
extends junit.framework.TestCase


Constructor Summary
SingleSolutionTest(String name)
           
 
Method Summary
protected  void setUp()
           
 void testHasASingleSolution()
           
 void testHasASingleSolutionIVecInt()
           
 void testHasNoSingleSolution()
           
 void testHasNoSingleSolutionUNSAT()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SingleSolutionTest

public SingleSolutionTest(String name)
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testHasASingleSolution

public void testHasASingleSolution()
                            throws ContradictionException,
                                   TimeoutException
Throws:
ContradictionException
TimeoutException

testHasNoSingleSolution

public void testHasNoSingleSolution()
                             throws ContradictionException,
                                    TimeoutException
Throws:
ContradictionException
TimeoutException

testHasNoSingleSolutionUNSAT

public void testHasNoSingleSolutionUNSAT()
                                  throws ContradictionException,
                                         TimeoutException
Throws:
ContradictionException
TimeoutException

testHasASingleSolutionIVecInt

public void testHasASingleSolutionIVecInt()
                                   throws ContradictionException,
                                          TimeoutException
Throws:
ContradictionException
TimeoutException


Copyright © 2012 Centre de Recherche en Informatique de Lens (CRIL). All Rights Reserved.