mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 19:52:29 +00:00 
			
		
		
		
	update unit tests for num allocs
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									564da787fb
								
							
						
					
					
						commit
						ed806b67fb
					
				
					 1 changed files with 4 additions and 4 deletions
				
			
		|  | @ -5617,7 +5617,7 @@ class Statistics: | |||
|         sat | ||||
|         >>> st = s.statistics() | ||||
|         >>> len(st) | ||||
|         4 | ||||
|         5 | ||||
|         """ | ||||
|         return int(Z3_stats_size(self.ctx.ref(), self.stats)) | ||||
| 
 | ||||
|  | @ -5631,7 +5631,7 @@ class Statistics: | |||
|         sat | ||||
|         >>> st = s.statistics() | ||||
|         >>> len(st) | ||||
|         4 | ||||
|         5 | ||||
|         >>> st[0] | ||||
|         ('nlsat propagations', 2) | ||||
|         >>> st[1] | ||||
|  | @ -5655,7 +5655,7 @@ class Statistics: | |||
|         sat | ||||
|         >>> st = s.statistics() | ||||
|         >>> st.keys() | ||||
|         ['nlsat propagations', 'nlsat stages', 'max memory', 'memory'] | ||||
|         ['nlsat propagations', 'nlsat stages', 'max memory', 'memory', 'num allocs'] | ||||
|         """ | ||||
|         return [Z3_stats_get_key(self.ctx.ref(), self.stats, idx) for idx in range(len(self))] | ||||
| 
 | ||||
|  | @ -5692,7 +5692,7 @@ class Statistics: | |||
|         sat | ||||
|         >>> st = s.statistics()  | ||||
|         >>> st.keys() | ||||
|         ['nlsat propagations', 'nlsat stages', 'max memory', 'memory'] | ||||
|         ['nlsat propagations', 'nlsat stages', 'max memory', 'memory', 'num allocs'] | ||||
|         >>> st.nlsat_propagations | ||||
|         2 | ||||
|         >>> st.nlsat_stages | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue