Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Praetorius, Simon
dune-common-extensions
Commits
406849ce
Commit
406849ce
authored
Jan 01, 2019
by
Praetorius, Simon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
problem with libcpp resolved
parent
9f154c8e
Pipeline
#1605
failed with stage
in 4 minutes and 28 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
dune/common/test/strtonumbertest.cc
dune/common/test/strtonumbertest.cc
+2
-2
No files found.
dune/common/test/strtonumbertest.cc
View file @
406849ce
...
...
@@ -149,7 +149,7 @@ int main()
T
val1
=
strTo
<
T
>
(
oss
.
str
().
c_str
());
// compare with original value
test
.
check
(
bool
(
value
==
val1
));
test
.
check
(
bool
(
value
==
val1
)
,
"Random values"
);
}
T
value2
=
std
::
numeric_limits
<
T
>::
max
();
...
...
@@ -157,7 +157,7 @@ int main()
oss2
<<
std
::
setprecision
(
std
::
numeric_limits
<
T
>::
digits10
+
4
)
<<
value2
;
T
val2
=
strTo
<
T
>
(
oss2
.
str
().
c_str
());
test
.
check
(
cmp
(
value2
,
val2
));
test
.
check
(
cmp
(
value2
,
val2
)
,
"numeric_limits::max"
);
bool
exception
=
false
;
try
{
...
...
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