bubbleSort.js
// Test all the functions in this file.
Test all the functions in this file.
Test all the functions in this file .
function testFive() {
	var array = createIntegerArray(20);
	printArray(array, "testArea");
	var results = bubbleSort(array);
	printArray(results[0], "resultsArea");
}
function testFive ( ) { var array = createIntegerArray ( 20 ) ; printArray ( array , "testArea" ) ; var results = bubbleSort ( array ) ; printArray ( results [ 0 ] , "resultsArea" ) ; }
Test all the functions in this file.
Test all the functions in this file .
// Generate an array of 20 random integers. // Print the description of the Unsorted Area. // Sort the array and gather statistics. // Print the description of the Sorted Area