15 lines
		
	
	
		
			324 B
		
	
	
	
		
			Factor
		
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			324 B
		
	
	
	
		
			Factor
		
	
	
USING: compiler.cfg.debugger compiler.cfg compiler.cfg.linearization
 | 
						|
kernel accessors sequences sets tools.test namespaces ;
 | 
						|
IN: compiler.cfg.linearization.tests
 | 
						|
 | 
						|
V{ } 0 test-bb
 | 
						|
 | 
						|
V{ } 1 test-bb
 | 
						|
 | 
						|
V{ } 2 test-bb
 | 
						|
 | 
						|
0 { 1 1 } edges
 | 
						|
1 2 edge
 | 
						|
 | 
						|
[ t ] [ cfg new 0 get >>entry linearization-order [ id>> ] map all-unique? ] unit-test
 |