7 lines
		
	
	
		
			224 B
		
	
	
	
		
			Factor
		
	
	
		
		
			
		
	
	
			7 lines
		
	
	
		
			224 B
		
	
	
	
		
			Factor
		
	
	
|  | USING: kernel tools.test ;
 | ||
|  | IN: sorting.bubble | ||
|  | 
 | ||
|  | { { } } [ { } dup natural-bubble-sort! ] unit-test | ||
|  | { { 1 } } [ { 1 } dup natural-bubble-sort! ] unit-test | ||
|  | { { 1 2 3 4 5 } } [ { 1 4 2 5 3 } dup natural-bubble-sort! ] unit-test |