Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
G
golang
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
golang
Commits
febde388
Commit
febde388
authored
Nov 11, 2010
by
Robert Griesemer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sort.Search: more typos
R=r CC=golang-dev
https://golang.org/cl/3042041
parent
ffa9000b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
search_test.go
src/pkg/sort/search_test.go
+4
-4
No files found.
src/pkg/sort/search_test.go
View file @
febde388
...
@@ -24,11 +24,11 @@ var tests = []struct {
...
@@ -24,11 +24,11 @@ var tests = []struct {
}{
}{
{
"empty"
,
0
,
nil
,
0
},
{
"empty"
,
0
,
nil
,
0
},
{
"1 1"
,
1
,
func
(
i
int
)
bool
{
return
i
<=
1
},
0
},
{
"1 1"
,
1
,
func
(
i
int
)
bool
{
return
i
<=
1
},
0
},
{
"1
tru
e"
,
1
,
func
(
i
int
)
bool
{
return
false
},
0
},
{
"1
fals
e"
,
1
,
func
(
i
int
)
bool
{
return
false
},
0
},
{
"1
fals
e"
,
1
,
func
(
i
int
)
bool
{
return
true
},
0
},
{
"1
tru
e"
,
1
,
func
(
i
int
)
bool
{
return
true
},
0
},
{
"1e9 991"
,
1e9
,
func
(
i
int
)
bool
{
return
i
<=
991
},
991
},
{
"1e9 991"
,
1e9
,
func
(
i
int
)
bool
{
return
i
<=
991
},
991
},
{
"1e9
tru
e"
,
1e9
,
func
(
i
int
)
bool
{
return
false
},
0
},
{
"1e9
fals
e"
,
1e9
,
func
(
i
int
)
bool
{
return
false
},
0
},
{
"1e9
fals
e"
,
1e9
,
func
(
i
int
)
bool
{
return
true
},
1e9
-
1
},
{
"1e9
tru
e"
,
1e9
,
func
(
i
int
)
bool
{
return
true
},
1e9
-
1
},
{
"data -20"
,
len
(
data
),
f
(
data
,
-
20
),
0
},
{
"data -20"
,
len
(
data
),
f
(
data
,
-
20
),
0
},
{
"data -10"
,
len
(
data
),
f
(
data
,
-
10
),
0
},
{
"data -10"
,
len
(
data
),
f
(
data
,
-
10
),
0
},
{
"data -9"
,
len
(
data
),
f
(
data
,
-
9
),
0
},
{
"data -9"
,
len
(
data
),
f
(
data
,
-
9
),
0
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment