rustsat-cadical 0.7.5

Interface to the SAT solver CaDiCaL for the RustSAT library.
Documentation
#ifndef _testing_hpp_INCLUDED
#define _testing_hpp_INCLUDED

// This class provides access to 'internal' which should only be used for
// internal testing and not for any other purpose as 'internal' is supposed
// to be hidden.

#include "cadical.hpp"

namespace CaDiCaL {

class Testing {
  Solver *solver;

public:
  Testing (Solver &s) : solver (&s) {}
  Testing (Solver *s) : solver (s) {}
  Internal *internal () { return solver->internal; }
  External *external () { return solver->external; }
};

} // namespace CaDiCaL

#endif