Пример #1
0
func TestInsert(t *testing.T) {
	toBeTested := sorting.GetUnsortedTestData()

	InsertSort(toBeTested)

	sorting.Check(t, toBeTested)
}
Пример #2
0
func TestBubble(t *testing.T) {
	toBeTested := sorting.GetUnsortedTestData()

	BubbleSort(toBeTested)

	sorting.Check(t, toBeTested)
}
Пример #3
0
func TestSelection(t *testing.T) {
	toBeTested := sorting.GetUnsortedTestData()

	SelectionSort(toBeTested)

	sorting.Check(t, toBeTested)
}