Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
b
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
b
Commits
d2d7ab5c
Commit
d2d7ab5c
authored
Jun 22, 2014
by
Jan Mercl
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enlarge test constants
parent
14175e51
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
all_test.go
all_test.go
+4
-4
No files found.
all_test.go
View file @
d2d7ab5c
...
...
@@ -218,7 +218,7 @@ func TestSetGet0(t *testing.T) {
}
func
TestSetGet1
(
t
*
testing
.
T
)
{
const
N
=
6
0000
const
N
=
10
0000
for
_
,
x
:=
range
[]
int
{
0
,
-
1
,
0x555555
,
0xaaaaaa
,
0x333333
,
0xcccccc
,
0x314259
}
{
r
:=
TreeNew
(
cmp
)
set
:=
r
.
Set
...
...
@@ -386,7 +386,7 @@ func benchmarkGetRnd(b *testing.B, n int) {
}
func
TestSetGet2
(
t
*
testing
.
T
)
{
const
N
=
6
0000
const
N
=
8
0000
for
_
,
x
:=
range
[]
int
{
0
,
-
1
,
0x555555
,
0xaaaaaa
,
0x333333
,
0xcccccc
,
0x314259
}
{
r
:=
TreeNew
(
cmp
)
set
:=
r
.
Set
...
...
@@ -532,7 +532,7 @@ func TestDelete0(t *testing.T) {
}
func
TestDelete1
(
t
*
testing
.
T
)
{
const
N
=
7
0000
const
N
=
13
0000
for
_
,
x
:=
range
[]
int
{
0
,
-
1
,
0x555555
,
0xaaaaaa
,
0x333333
,
0xcccccc
,
0x314259
}
{
r
:=
TreeNew
(
cmp
)
set
:=
r
.
Set
...
...
@@ -629,7 +629,7 @@ func benchmarkDelRnd(b *testing.B, n int) {
}
func
TestDelete2
(
t
*
testing
.
T
)
{
const
N
=
6
0000
const
N
=
10
0000
for
_
,
x
:=
range
[]
int
{
0
,
-
1
,
0x555555
,
0xaaaaaa
,
0x333333
,
0xcccccc
,
0x314259
}
{
r
:=
TreeNew
(
cmp
)
set
:=
r
.
Set
...
...
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