ABC: A System for Sequential Synthesis and Verification
 
Loading...
Searching...
No Matches
testing.hpp
Go to the documentation of this file.
1#ifndef _testing_hpp_INCLUDED
2#define _testing_hpp_INCLUDED
3
4#include "global.h"
5
6// This class provides access to 'internal' which should only be used for
7// internal testing and not for any other purpose as 'internal' is supposed
8// to be hidden.
9
10#include "cadical.hpp"
11
13
14namespace CaDiCaL {
15
16class Testing {
17 Solver *solver;
18
19public:
20 Testing (Solver &s) : solver (&s) {}
21 Testing (Solver *s) : solver (s) {}
22 Internal *internal () { return solver->internal; }
23 External *external () { return solver->external; }
24};
25
26} // namespace CaDiCaL
27
29
30#endif
#define ABC_NAMESPACE_CXX_HEADER_START
#define ABC_NAMESPACE_CXX_HEADER_END
External * external()
Definition testing.hpp:23
Testing(Solver &s)
Definition testing.hpp:20
Internal * internal()
Definition testing.hpp:22
Testing(Solver *s)
Definition testing.hpp:21
Internal * internal
Definition internal.hpp:311