diff options
author | Russ Cox <rsc@golang.org> | 2009-01-20 14:40:40 -0800 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2009-01-20 14:40:40 -0800 |
commit | 4ae0ed29a283c16d1c83ef704c4d75170c3801e6 (patch) | |
tree | f8305b165ee5ff41e9ef2b0f76e26f7ab3ece269 /src/lib/container/array/array_test.go | |
parent | 3986ef877ccd4db750b5050e318dff78f7e55d19 (diff) | |
download | golang-4ae0ed29a283c16d1c83ef704c4d75170c3801e6.tar.gz |
delete export
TBR=r
OCL=23121
CL=23127
Diffstat (limited to 'src/lib/container/array/array_test.go')
-rw-r--r-- | src/lib/container/array/array_test.go | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/container/array/array_test.go b/src/lib/container/array/array_test.go index 2c56ba8f0..6deaf4a6e 100644 --- a/src/lib/container/array/array_test.go +++ b/src/lib/container/array/array_test.go @@ -9,7 +9,7 @@ import "testing" import "sort" -export func TestInit(t *testing.T) { +func TestInit(t *testing.T) { var a array.Array; if a.Init(0).Len() != 0 { t.Error("A") } if a.Init(1).Len() != 1 { t.Error("B") } @@ -17,19 +17,19 @@ export func TestInit(t *testing.T) { } -export func TestNew(t *testing.T) { +func TestNew(t *testing.T) { if array.New(0).Len() != 0 { t.Error("A") } if array.New(1).Len() != 1 { t.Error("B") } if array.New(10).Len() != 10 { t.Error("C") } } -export func Val(i int) int { +func Val(i int) int { return i*991 - 1234 } -export func TestAccess(t *testing.T) { +func TestAccess(t *testing.T) { const n = 100; var a array.Array; a.Init(n); @@ -42,7 +42,7 @@ export func TestAccess(t *testing.T) { } -export func TestInsertRemoveClear(t *testing.T) { +func TestInsertRemoveClear(t *testing.T) { const n = 100; a := array.New(0); @@ -81,7 +81,7 @@ export func TestInsertRemoveClear(t *testing.T) { /* currently doesn't compile due to linker bug -export func TestSorting(t *testing.T) { +func TestSorting(t *testing.T) { const n = 100; a := array.NewIntArray(n); for i := n-1; i >= 0; i-- { |