<reponame>Cadair/conda-recipes<filename>sample/run_test.py<gh_stars>100-1000
import sys
import pycosat
import test_pycosat

assert test_pycosat.run(verbosity=10).wasSuccessful()

if sys.platform != 'win32':
    assert pycosat.__version__ == '0.6.0'

assert test_pycosat.process_cnf_file('uf20-098.cnf') == 5

sys.stdout.write("The answer is: %d\n" % test_pycosat.foo)
assert test_pycosat.foo == 42
