diff --git a/examples_test.go b/examples_test.go index 75424c2b..e7bb5f72 100644 --- a/examples_test.go +++ b/examples_test.go @@ -1,3 +1,7 @@ +// Copyright 2013 The Gonum Authors. All rights reserved. +// Use of this code is governed by a BSD-style +// license that can be found in the LICENSE file + package floats import ( diff --git a/floats.go b/floats.go index 188e058d..6a8fac4c 100644 --- a/floats.go +++ b/floats.go @@ -1,3 +1,7 @@ +// Copyright 2013 The Gonum Authors. All rights reserved. +// Use of this code is governed by a BSD-style +// license that can be found in the LICENSE file + package floats import ( diff --git a/floats_test.go b/floats_test.go index f13888cc..8d32f7e3 100644 --- a/floats_test.go +++ b/floats_test.go @@ -1,3 +1,7 @@ +// Copyright 2013 The Gonum Authors. All rights reserved. +// Use of this code is governed by a BSD-style +// license that can be found in the LICENSE file + package floats import ( @@ -298,6 +302,10 @@ func TestMin(t *testing.T) { } } +func TestNearest(t *testing.T) { + +} + func TestNorm(t *testing.T) { s := []float64{-1, -3.4, 5, 6} val := Norm(s, math.Inf(1))