Exemplo n.º 1
0
void Tester<T>::binaryInsertionSortTest(double TimeTable[], int& timeCount) // [9]
{//이원 삽입 정렬 TEST
	InsertionSort<T> insertion;
	ioHandler io;
	clock_t begin, end;

	begin = clock();
	insertion.binaryInsertionSort(arr,size);
	end =  clock();

	io.setTime(TimeTable,timeCount, ((double)(end - begin))/CLOCKS_PER_SEC);
}