mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 13:29:11 +00:00 
			
		
		
		
	Add friend class declaration for testing
This commit is contained in:
		
							parent
							
								
									e66d704967
								
							
						
					
					
						commit
						0b2bf3f587
					
				
					 1 changed files with 4 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -92,6 +92,7 @@ theory_finite_set.cpp.
 | 
			
		|||
 | 
			
		||||
namespace smt {
 | 
			
		||||
    class theory_finite_set : public theory {
 | 
			
		||||
        friend class theory_finite_set_test;
 | 
			
		||||
        finite_set_util           u;
 | 
			
		||||
        finite_set_axioms         m_axioms;
 | 
			
		||||
        obj_hashtable<enode>      m_elements;             // set of all 'x' where there is an 'x in S' atom
 | 
			
		||||
| 
						 | 
				
			
			@ -114,6 +115,9 @@ namespace smt {
 | 
			
		|||
        // Helper methods for axiom instantiation
 | 
			
		||||
        void instantiate_axioms(expr* elem, expr* set);
 | 
			
		||||
        void add_clause(expr_ref_vector const& clause);
 | 
			
		||||
        void instantiate_false_lemma();
 | 
			
		||||
        void instantiate_unit_propagation();
 | 
			
		||||
        void instantiate_free_lemma();
 | 
			
		||||
        
 | 
			
		||||
    public:
 | 
			
		||||
        theory_finite_set(context& ctx);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue