summaryrefslogtreecommitdiffstats
path: root/src/sort/export_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/sort/export_test.go')
-rw-r--r--src/sort/export_test.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/sort/export_test.go b/src/sort/export_test.go
new file mode 100644
index 0000000..2a3c21f
--- /dev/null
+++ b/src/sort/export_test.go
@@ -0,0 +1,13 @@
+// Copyright 2011 The Go Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style
+// license that can be found in the LICENSE file.
+
+package sort
+
+func Heapsort(data Interface) {
+ heapSort(data, 0, data.Len())
+}
+
+func ReverseRange(data Interface, a, b int) {
+ reverseRange(data, a, b)
+}