Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Sebastian Schrader
Kea
Commits
f36f677e
Commit
f36f677e
authored
Aug 02, 2013
by
Mukund Sivaraman
Browse files
[2811] Use 8 digits instead of 6 in names
parent
c386d06a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/lib/datasrc/tests/memory/domaintree_unittest.cc
View file @
f36f677e
...
...
@@ -224,13 +224,13 @@ TEST_F(DomainTreeTest, checkDistanceSorted) {
// Make a large million+ node top-level domain tree, i.e., the
// following code inserts names such as:
//
// name000000.
// name000001.
// name000002.
// name000003.
// name000000
00
.
// name00000
00
1.
// name00000
00
2.
// name00000
00
3.
//
for
(
int
i
=
0
;
i
<
(
1
<<
log_num_nodes
);
i
++
)
{
const
string
namestr
(
boost
::
str
(
boost
::
format
(
"name%0
6
x."
)
%
i
));
const
string
namestr
(
boost
::
str
(
boost
::
format
(
"name%0
8
x."
)
%
i
));
mytree
.
insert
(
mem_sgmt_
,
Name
(
namestr
),
&
dtnode
);
EXPECT_EQ
(
static_cast
<
int
*>
(
NULL
),
dtnode
->
setData
(
new
int
(
i
+
1
)));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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