summaryrefslogtreecommitdiff
path: root/libgo/go/math/hypot_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/math/hypot_test.go')
-rw-r--r--libgo/go/math/hypot_test.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/libgo/go/math/hypot_test.go b/libgo/go/math/hypot_test.go
new file mode 100644
index 000000000..85ce1d404
--- /dev/null
+++ b/libgo/go/math/hypot_test.go
@@ -0,0 +1,9 @@
+// Copyright 2010 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 math
+
+// Make hypotGo available for testing.
+
+func HypotGo(x, y float64) float64 { return hypotGo(x, y) }