annotate UnitTestsSources/GenericToolboxTests.cpp @ 1442:11f291ac3ef5 legacy-loader-refactoring

This branch is useless.
author Benjamin Golinvaux <bgo@osimis.io>
date Tue, 26 May 2020 10:11:49 +0200
parents 5630c2fb7b0f
children 30deba7bc8e2
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1101
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1 /**
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2 * Stone of Orthanc
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3 * Copyright (C) 2012-2016 Sebastien Jodogne, Medical Physics
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4 * Department, University Hospital of Liege, Belgium
1270
2d8ab34c8c91 upgrade to year 2020
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1182
diff changeset
5 * Copyright (C) 2017-2020 Osimis S.A., Belgium
1101
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
6 *
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
7 * This program is free software: you can redistribute it and/or
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
8 * modify it under the terms of the GNU Affero General Public License
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
9 * as published by the Free Software Foundation, either version 3 of
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
10 * the License, or (at your option) any later version.
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
11 *
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
12 * This program is distributed in the hope that it will be useful, but
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
13 * WITHOUT ANY WARRANTY; without even the implied warranty of
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
15 * Affero General Public License for more details.
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
16 *
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
17 * You should have received a copy of the GNU Affero General Public License
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
19 **/
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
20
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
21 #include <Framework/Toolbox/GenericToolbox.h>
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
22
1189
09fc591d8ff9 replacing boost::chrono by boost::posix_time for older compilers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1183
diff changeset
23 #include <boost/date_time/posix_time/posix_time.hpp>
1181
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
24 #include <boost/lexical_cast.hpp>
1328
fd616c4a5904 Added mechanism to prevent callbacks from being sent on dead WebAssemblyViewport objects
Benjamin Golinvaux <bgo@osimis.io>
parents: 1279
diff changeset
25 #include <boost/enable_shared_from_this.hpp>
1181
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
26
1101
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
27 #include "gtest/gtest.h"
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
28
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
29 #include "stdint.h"
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
30
1169
5594d8d4a70f fix build on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1166
diff changeset
31 #include <cmath>
5594d8d4a70f fix build on OS X
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1166
diff changeset
32
1101
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
33 TEST(GenericToolbox, TestLegitDoubleString)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
34 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
35 using OrthancStone::GenericToolbox::LegitDoubleString;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
36
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
37 EXPECT_TRUE(LegitDoubleString("12.34"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
38 EXPECT_TRUE(LegitDoubleString("1234"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
39 EXPECT_TRUE(LegitDoubleString(".1234"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
40 EXPECT_TRUE(LegitDoubleString("1234."));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
41 EXPECT_TRUE(LegitDoubleString("0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011234"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
42 EXPECT_TRUE(LegitDoubleString("000000000000000000000000000000000000000000000000000000000000000000000000000000000000.00000000000000000000000011234"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
43 EXPECT_TRUE(LegitDoubleString("0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000112.34"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
44 EXPECT_TRUE(LegitDoubleString("000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011234."));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
45 EXPECT_TRUE(LegitDoubleString("00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001123456"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
46 EXPECT_TRUE(LegitDoubleString("00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001123456000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011234000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011230000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000112345000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011234000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011234565664565623456"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
47 EXPECT_TRUE(LegitDoubleString("1234."));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
48 EXPECT_TRUE(LegitDoubleString(".0123"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
49 EXPECT_TRUE(LegitDoubleString(".123"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
50 EXPECT_TRUE(LegitDoubleString(".5"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
51 EXPECT_TRUE(LegitDoubleString("."));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
52 EXPECT_TRUE(LegitDoubleString(""));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
53 EXPECT_TRUE(LegitDoubleString("0."));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
54 EXPECT_TRUE(LegitDoubleString(".0"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
55
1166
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
56 EXPECT_TRUE(LegitDoubleString("1e-15"));
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
57 EXPECT_TRUE(LegitDoubleString("1E-15"));
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
58 EXPECT_TRUE(LegitDoubleString("0.31E-15"));
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
59 EXPECT_TRUE(LegitDoubleString(".0031E-15"));
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
60 EXPECT_TRUE(LegitDoubleString("1e-15"));
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
61 EXPECT_TRUE(LegitDoubleString("1E015"));
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
62 EXPECT_TRUE(LegitDoubleString("0.31E015"));
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
63
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
64
1101
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
65 EXPECT_FALSE(LegitDoubleString(".5f"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
66 EXPECT_FALSE(LegitDoubleString("\n.0031E015"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
67 EXPECT_FALSE(LegitDoubleString(".05f"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
68 EXPECT_FALSE(LegitDoubleString(" 1 2 "));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
69 EXPECT_FALSE(LegitDoubleString(" 0.12\t"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
70 EXPECT_FALSE(LegitDoubleString(" 0.12"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
71 EXPECT_FALSE(LegitDoubleString("0.12\t"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
72 EXPECT_FALSE(LegitDoubleString("12\t"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
73 EXPECT_FALSE(LegitDoubleString(".01 23"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
74 EXPECT_FALSE(LegitDoubleString(". 123"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
75 EXPECT_FALSE(LegitDoubleString(".5 "));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
76 EXPECT_FALSE(LegitDoubleString(" ."));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
77 EXPECT_FALSE(LegitDoubleString("\n0."));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
78 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
79
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
80 TEST(GenericToolbox, TestLegitIntegerString)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
81 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
82 using OrthancStone::GenericToolbox::LegitIntegerString;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
83
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
84 EXPECT_TRUE(LegitIntegerString("1234"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
85 EXPECT_TRUE(LegitIntegerString("234"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
86 EXPECT_TRUE(LegitIntegerString("01234"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
87 EXPECT_TRUE(LegitIntegerString("12340"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
88 EXPECT_TRUE(LegitIntegerString("0000000000000011234"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
89 EXPECT_TRUE(LegitIntegerString("00000000000000011234"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
90 EXPECT_TRUE(LegitIntegerString("00000000000011234"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
91 EXPECT_TRUE(LegitIntegerString("112340000000000010"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
92 EXPECT_TRUE(LegitIntegerString("0000000000001123456"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
93 EXPECT_TRUE(LegitIntegerString("000000000000112345604565665623456"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
94 EXPECT_TRUE(LegitIntegerString(""));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
95 EXPECT_TRUE(LegitIntegerString("0"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
96 EXPECT_TRUE(LegitIntegerString("00000"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
97
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
98 EXPECT_FALSE(LegitIntegerString(".5f"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
99 EXPECT_FALSE(LegitIntegerString("1e-15"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
100 EXPECT_FALSE(LegitIntegerString("1E-15"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
101 EXPECT_FALSE(LegitIntegerString("0.31E-15"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
102 EXPECT_FALSE(LegitIntegerString(".0031E-15"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
103 EXPECT_FALSE(LegitIntegerString("1e-15"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
104 EXPECT_FALSE(LegitIntegerString("1E015"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
105 EXPECT_FALSE(LegitIntegerString("0.31E015"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
106 EXPECT_FALSE(LegitIntegerString("\n.0031E015"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
107 EXPECT_FALSE(LegitIntegerString(".05f"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
108 EXPECT_FALSE(LegitIntegerString(" 1 2 "));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
109 EXPECT_FALSE(LegitIntegerString(" 0.12\t"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
110 EXPECT_FALSE(LegitIntegerString(" 0.12"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
111 EXPECT_FALSE(LegitIntegerString("0.12\t"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
112 EXPECT_FALSE(LegitIntegerString("12\t"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
113 EXPECT_FALSE(LegitIntegerString(".01 23"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
114 EXPECT_FALSE(LegitIntegerString(". 123"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
115 EXPECT_FALSE(LegitIntegerString(".5 "));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
116 EXPECT_FALSE(LegitIntegerString(" ."));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
117 EXPECT_FALSE(LegitIntegerString("\n0."));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
118 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
119
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
120 TEST(GenericToolbox, TestStringToDouble)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
121 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
122 using OrthancStone::GenericToolbox::StringToDouble;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
123
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
124 const double TOLERANCE = 0.00000000000001;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
125 double r = 0.0;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
126 bool ok = StringToDouble(r, "0.0001");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
127 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
128 EXPECT_NEAR(0.0001, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
129
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
130 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
131 bool ok = StringToDouble(r, "0.0001");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
132 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
133 EXPECT_NEAR(0.0001, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
134 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
135
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
136 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
137 bool ok = StringToDouble(r, "-0.50217817069333900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
138 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
139 EXPECT_NEAR(-0.50217817069333900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
140 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
141
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
142 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
143 bool ok = StringToDouble(r, "5.96770274105399000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
144 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
145 EXPECT_NEAR(5.96770274105399000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
146 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
147
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
148 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
149 bool ok = StringToDouble(r, "-1.49521088758962000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
150 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
151 EXPECT_NEAR(-1.49521088758962000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
152 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
153
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
154 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
155 bool ok = StringToDouble(r, "-2.06201839227379000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
156 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
157 EXPECT_NEAR(-2.06201839227379000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
158 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
159
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
160 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
161 bool ok = StringToDouble(r, "5.33360671999703000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
162 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
163 EXPECT_NEAR(5.33360671999703000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
164 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
165
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
166 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
167 bool ok = StringToDouble(r, "-1.07639304839166000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
168 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
169 EXPECT_NEAR(-1.07639304839166000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
170 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
171
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
172 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
173 bool ok = StringToDouble(r, "0.19287806240687400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
174 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
175 EXPECT_NEAR(0.19287806240687400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
176 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
177
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
178 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
179 bool ok = StringToDouble(r, "2.44207082838626000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
180 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
181 EXPECT_NEAR(2.44207082838626000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
182 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
183
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
184 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
185 bool ok = StringToDouble(r, "-0.84619708036551800000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
186 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
187 EXPECT_NEAR(-0.84619708036551800000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
188 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
189
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
190 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
191 bool ok = StringToDouble(r, "-1.58091726580509000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
192 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
193 EXPECT_NEAR(-1.58091726580509000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
194 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
195
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
196 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
197 bool ok = StringToDouble(r, "1.18073661859763000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
198 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
199 EXPECT_NEAR(1.18073661859763000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
200 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
201
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
202 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
203 bool ok = StringToDouble(r, "1.33045549786387000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
204 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
205 EXPECT_NEAR(1.33045549786387000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
206 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
207
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
208 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
209 bool ok = StringToDouble(r, "-3.00272400249168000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
210 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
211 EXPECT_NEAR(-3.00272400249168000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
212 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
213
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
214 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
215 bool ok = StringToDouble(r, "4.95337715877137000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
216 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
217 EXPECT_NEAR(4.95337715877137000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
218 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
219
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
220 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
221 bool ok = StringToDouble(r, "8.95930523708542000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
222 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
223 EXPECT_NEAR(8.95930523708542000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
224 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
225
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
226 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
227 bool ok = StringToDouble(r, "-3.78847681371515000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
228 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
229 EXPECT_NEAR(-3.78847681371515000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
230 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
231
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
232 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
233 bool ok = StringToDouble(r, "-3.23601540702684000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
234 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
235 EXPECT_NEAR(-3.23601540702684000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
236 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
237
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
238 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
239 bool ok = StringToDouble(r, "3.40676557671367000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
240 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
241 EXPECT_NEAR(3.40676557671367000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
242 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
243
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
244 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
245 bool ok = StringToDouble(r, "-0.36110595246212700000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
246 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
247 EXPECT_NEAR(-0.36110595246212700000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
248 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
249
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
250 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
251 bool ok = StringToDouble(r, "-1.10430292945232000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
252 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
253 EXPECT_NEAR(-1.10430292945232000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
254 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
255
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
256 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
257 bool ok = StringToDouble(r, "-0.34892053003478100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
258 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
259 EXPECT_NEAR(-0.34892053003478100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
260 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
261
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
262 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
263 bool ok = StringToDouble(r, "-3.86871791690589000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
264 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
265 EXPECT_NEAR(-3.86871791690589000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
266 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
267
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
268 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
269 bool ok = StringToDouble(r, "-0.23477571361979100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
270 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
271 EXPECT_NEAR(-0.23477571361979100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
272 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
273
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
274 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
275 bool ok = StringToDouble(r, "4.17723077954105000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
276 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
277 EXPECT_NEAR(4.17723077954105000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
278 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
279
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
280 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
281 bool ok = StringToDouble(r, "-5.55533339430731000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
282 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
283 EXPECT_NEAR(-5.55533339430731000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
284 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
285
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
286 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
287 bool ok = StringToDouble(r, "1.39193581722996000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
288 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
289 EXPECT_NEAR(1.39193581722996000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
290 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
291
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
292 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
293 bool ok = StringToDouble(r, "-1.98290538242799000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
294 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
295 EXPECT_NEAR(-1.98290538242799000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
296 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
297
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
298 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
299 bool ok = StringToDouble(r, "-1.39701448187652000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
300 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
301 EXPECT_NEAR(-1.39701448187652000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
302 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
303
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
304 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
305 bool ok = StringToDouble(r, "-2.97546141973594000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
306 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
307 EXPECT_NEAR(-2.97546141973594000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
308 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
309
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
310 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
311 bool ok = StringToDouble(r, "1.33870401451186000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
312 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
313 EXPECT_NEAR(1.33870401451186000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
314 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
315
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
316 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
317 bool ok = StringToDouble(r, "2.15061799435527000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
318 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
319 EXPECT_NEAR(2.15061799435527000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
320 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
321
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
322 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
323 bool ok = StringToDouble(r, "2.78705704115137000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
324 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
325 EXPECT_NEAR(2.78705704115137000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
326 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
327
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
328 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
329 bool ok = StringToDouble(r, "1.56210637202493000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
330 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
331 EXPECT_NEAR(1.56210637202493000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
332 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
333
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
334 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
335 bool ok = StringToDouble(r, "-8.86139731673717000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
336 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
337 EXPECT_NEAR(-8.86139731673717000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
338 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
339
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
340 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
341 bool ok = StringToDouble(r, "3.63169336137189000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
342 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
343 EXPECT_NEAR(3.63169336137189000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
344 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
345
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
346 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
347 bool ok = StringToDouble(r, "-2.93978481744645000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
348 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
349 EXPECT_NEAR(-2.93978481744645000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
350 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
351
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
352 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
353 bool ok = StringToDouble(r, "-3.49952444717512000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
354 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
355 EXPECT_NEAR(-3.49952444717512000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
356 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
357
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
358 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
359 bool ok = StringToDouble(r, "-1.32659301981935000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
360 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
361 EXPECT_NEAR(-1.32659301981935000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
362 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
363
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
364 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
365 bool ok = StringToDouble(r, "2.59514994228045000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
366 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
367 EXPECT_NEAR(2.59514994228045000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
368 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
369
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
370 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
371 bool ok = StringToDouble(r, "-3.66422938111626000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
372 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
373 EXPECT_NEAR(-3.66422938111626000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
374 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
375
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
376 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
377 bool ok = StringToDouble(r, "-2.70431239624531000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
378 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
379 EXPECT_NEAR(-2.70431239624531000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
380 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
381
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
382 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
383 bool ok = StringToDouble(r, "1.22698147029468000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
384 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
385 EXPECT_NEAR(1.22698147029468000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
386 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
387
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
388 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
389 bool ok = StringToDouble(r, "-0.90761005965631200000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
390 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
391 EXPECT_NEAR(-0.90761005965631200000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
392 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
393
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
394 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
395 bool ok = StringToDouble(r, "-5.43368952065867000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
396 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
397 EXPECT_NEAR(-5.43368952065867000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
398 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
399
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
400 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
401 bool ok = StringToDouble(r, "2.79510450171595000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
402 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
403 EXPECT_NEAR(2.79510450171595000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
404 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
405
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
406 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
407 bool ok = StringToDouble(r, "-2.94081596072268000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
408 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
409 EXPECT_NEAR(-2.94081596072268000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
410 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
411
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
412 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
413 bool ok = StringToDouble(r, "0.42019476309409300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
414 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
415 EXPECT_NEAR(0.42019476309409300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
416 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
417
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
418 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
419 bool ok = StringToDouble(r, "-3.70663631642677000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
420 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
421 EXPECT_NEAR(-3.70663631642677000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
422 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
423
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
424 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
425 bool ok = StringToDouble(r, "-0.06601188243267550000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
426 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
427 EXPECT_NEAR(-0.06601188243267550000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
428 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
429
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
430 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
431 bool ok = StringToDouble(r, "0.79928310771909400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
432 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
433 EXPECT_NEAR(0.79928310771909400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
434 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
435
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
436 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
437 bool ok = StringToDouble(r, "1.65577800860582000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
438 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
439 EXPECT_NEAR(1.65577800860582000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
440 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
441
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
442 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
443 bool ok = StringToDouble(r, "2.62187216187698000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
444 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
445 EXPECT_NEAR(2.62187216187698000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
446 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
447
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
448 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
449 bool ok = StringToDouble(r, "0.95596656702613300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
450 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
451 EXPECT_NEAR(0.95596656702613300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
452 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
453
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
454 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
455 bool ok = StringToDouble(r, "-4.14349841191783000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
456 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
457 EXPECT_NEAR(-4.14349841191783000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
458 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
459
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
460 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
461 bool ok = StringToDouble(r, "-2.23732575725115000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
462 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
463 EXPECT_NEAR(-2.23732575725115000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
464 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
465
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
466 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
467 bool ok = StringToDouble(r, "4.02522229405373000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
468 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
469 EXPECT_NEAR(4.02522229405373000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
470 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
471
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
472 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
473 bool ok = StringToDouble(r, "-0.43364697172459700000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
474 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
475 EXPECT_NEAR(-0.43364697172459700000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
476 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
477
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
478 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
479 bool ok = StringToDouble(r, "1.39612114240613000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
480 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
481 EXPECT_NEAR(1.39612114240613000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
482 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
483
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
484 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
485 bool ok = StringToDouble(r, "-0.87981321512563200000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
486 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
487 EXPECT_NEAR(-0.87981321512563200000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
488 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
489
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
490 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
491 bool ok = StringToDouble(r, "0.47459557296809400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
492 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
493 EXPECT_NEAR(0.47459557296809400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
494 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
495
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
496 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
497 bool ok = StringToDouble(r, "1.10534326849558000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
498 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
499 EXPECT_NEAR(1.10534326849558000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
500 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
501
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
502 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
503 bool ok = StringToDouble(r, "-1.48420825457170000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
504 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
505 EXPECT_NEAR(-1.48420825457170000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
506 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
507
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
508 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
509 bool ok = StringToDouble(r, "-0.98994851457562000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
510 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
511 EXPECT_NEAR(-0.98994851457562000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
512 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
513
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
514 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
515 bool ok = StringToDouble(r, "-0.18550683277018200000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
516 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
517 EXPECT_NEAR(-0.18550683277018200000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
518 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
519
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
520 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
521 bool ok = StringToDouble(r, "0.79951199056989300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
522 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
523 EXPECT_NEAR(0.79951199056989300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
524 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
525
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
526 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
527 bool ok = StringToDouble(r, "-2.92573951347502000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
528 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
529 EXPECT_NEAR(-2.92573951347502000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
530 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
531
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
532 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
533 bool ok = StringToDouble(r, "2.46138476058529000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
534 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
535 EXPECT_NEAR(2.46138476058529000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
536 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
537
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
538 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
539 bool ok = StringToDouble(r, "2.34518431607109000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
540 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
541 EXPECT_NEAR(2.34518431607109000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
542 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
543
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
544 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
545 bool ok = StringToDouble(r, "1.33372656820168000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
546 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
547 EXPECT_NEAR(1.33372656820168000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
548 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
549
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
550 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
551 bool ok = StringToDouble(r, "-0.16931283159188600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
552 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
553 EXPECT_NEAR(-0.16931283159188600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
554 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
555
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
556 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
557 bool ok = StringToDouble(r, "-4.97223922802124000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
558 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
559 EXPECT_NEAR(-4.97223922802124000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
560 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
561
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
562 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
563 bool ok = StringToDouble(r, "2.48394627491386000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
564 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
565 EXPECT_NEAR(2.48394627491386000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
566 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
567
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
568 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
569 bool ok = StringToDouble(r, "0.88861737945960600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
570 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
571 EXPECT_NEAR(0.88861737945960600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
572 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
573
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
574 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
575 bool ok = StringToDouble(r, "-2.85676190081840000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
576 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
577 EXPECT_NEAR(-2.85676190081840000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
578 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
579
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
580 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
581 bool ok = StringToDouble(r, "1.54459170417494000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
582 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
583 EXPECT_NEAR(1.54459170417494000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
584 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
585
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
586 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
587 bool ok = StringToDouble(r, "0.16447870264995300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
588 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
589 EXPECT_NEAR(0.16447870264995300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
590 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
591
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
592 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
593 bool ok = StringToDouble(r, "-2.35795535411029000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
594 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
595 EXPECT_NEAR(-2.35795535411029000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
596 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
597
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
598 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
599 bool ok = StringToDouble(r, "0.29431172135530300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
600 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
601 EXPECT_NEAR(0.29431172135530300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
602 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
603
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
604 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
605 bool ok = StringToDouble(r, "-2.96558311276619000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
606 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
607 EXPECT_NEAR(-2.96558311276619000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
608 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
609
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
610 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
611 bool ok = StringToDouble(r, "2.81681460880669000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
612 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
613 EXPECT_NEAR(2.81681460880669000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
614 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
615
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
616 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
617 bool ok = StringToDouble(r, "-4.20509941503951000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
618 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
619 EXPECT_NEAR(-4.20509941503951000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
620 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
621
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
622 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
623 bool ok = StringToDouble(r, "1.72765905661257000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
624 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
625 EXPECT_NEAR(1.72765905661257000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
626 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
627
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
628 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
629 bool ok = StringToDouble(r, "0.48788237089759900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
630 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
631 EXPECT_NEAR(0.48788237089759900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
632 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
633
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
634 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
635 bool ok = StringToDouble(r, "-1.24947907141902000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
636 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
637 EXPECT_NEAR(-1.24947907141902000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
638 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
639
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
640 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
641 bool ok = StringToDouble(r, "1.59005387432649000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
642 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
643 EXPECT_NEAR(1.59005387432649000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
644 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
645
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
646 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
647 bool ok = StringToDouble(r, "1.30370570926522000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
648 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
649 EXPECT_NEAR(1.30370570926522000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
650 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
651
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
652 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
653 bool ok = StringToDouble(r, "1.73638792046556000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
654 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
655 EXPECT_NEAR(1.73638792046556000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
656 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
657
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
658 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
659 bool ok = StringToDouble(r, "-0.87789934199453800000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
660 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
661 EXPECT_NEAR(-0.87789934199453800000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
662 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
663
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
664 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
665 bool ok = StringToDouble(r, "-2.51989255137937000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
666 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
667 EXPECT_NEAR(-2.51989255137937000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
668 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
669
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
670 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
671 bool ok = StringToDouble(r, "-1.76305470679095000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
672 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
673 EXPECT_NEAR(-1.76305470679095000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
674 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
675
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
676 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
677 bool ok = StringToDouble(r, "1.86920962997342000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
678 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
679 EXPECT_NEAR(1.86920962997342000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
680 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
681
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
682 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
683 bool ok = StringToDouble(r, "2.91313411328065000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
684 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
685 EXPECT_NEAR(2.91313411328065000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
686 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
687
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
688 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
689 bool ok = StringToDouble(r, "-1.73463683758381000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
690 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
691 EXPECT_NEAR(-1.73463683758381000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
692 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
693
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
694 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
695 bool ok = StringToDouble(r, "-0.84273889473222500000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
696 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
697 EXPECT_NEAR(-0.84273889473222500000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
698 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
699
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
700 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
701 bool ok = StringToDouble(r, "-0.87403925546477700000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
702 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
703 EXPECT_NEAR(-0.87403925546477700000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
704 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
705
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
706 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
707 bool ok = StringToDouble(r, "-4.36964126011414000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
708 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
709 EXPECT_NEAR(-4.36964126011414000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
710 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
711
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
712 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
713 bool ok = StringToDouble(r, "2.02726746648694000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
714 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
715 EXPECT_NEAR(2.02726746648694000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
716 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
717
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
718 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
719 bool ok = StringToDouble(r, "2.50557053097483000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
720 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
721 EXPECT_NEAR(2.50557053097483000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
722 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
723
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
724 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
725 bool ok = StringToDouble(r, "-1.56453106035648000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
726 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
727 EXPECT_NEAR(-1.56453106035648000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
728 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
729
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
730 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
731 bool ok = StringToDouble(r, "1.61890516636808000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
732 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
733 EXPECT_NEAR(1.61890516636808000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
734 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
735
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
736 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
737 bool ok = StringToDouble(r, "-3.37767835277405000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
738 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
739 EXPECT_NEAR(-3.37767835277405000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
740 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
741
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
742 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
743 bool ok = StringToDouble(r, "0.90511255527429100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
744 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
745 EXPECT_NEAR(0.90511255527429100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
746 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
747
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
748 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
749 bool ok = StringToDouble(r, "2.05929345122920000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
750 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
751 EXPECT_NEAR(2.05929345122920000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
752 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
753
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
754 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
755 bool ok = StringToDouble(r, "1.21311454144036000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
756 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
757 EXPECT_NEAR(1.21311454144036000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
758 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
759
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
760 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
761 bool ok = StringToDouble(r, "-7.79062987304713000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
762 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
763 EXPECT_NEAR(-7.79062987304713000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
764 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
765
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
766 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
767 bool ok = StringToDouble(r, "5.21365525338096000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
768 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
769 EXPECT_NEAR(5.21365525338096000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
770 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
771
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
772 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
773 bool ok = StringToDouble(r, "4.28348152906416000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
774 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
775 EXPECT_NEAR(4.28348152906416000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
776 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
777
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
778 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
779 bool ok = StringToDouble(r, "1.06610409505261000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
780 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
781 EXPECT_NEAR(1.06610409505261000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
782 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
783
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
784 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
785 bool ok = StringToDouble(r, "-0.35302095923550200000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
786 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
787 EXPECT_NEAR(-0.35302095923550200000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
788 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
789
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
790 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
791 bool ok = StringToDouble(r, "2.90818370281786000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
792 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
793 EXPECT_NEAR(2.90818370281786000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
794 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
795
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
796 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
797 bool ok = StringToDouble(r, "5.32125632829404000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
798 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
799 EXPECT_NEAR(5.32125632829404000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
800 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
801
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
802 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
803 bool ok = StringToDouble(r, "-0.19461589112926800000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
804 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
805 EXPECT_NEAR(-0.19461589112926800000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
806 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
807
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
808 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
809 bool ok = StringToDouble(r, "-0.13206147532649300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
810 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
811 EXPECT_NEAR(-0.13206147532649300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
812 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
813
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
814 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
815 bool ok = StringToDouble(r, "2.90445975568758000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
816 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
817 EXPECT_NEAR(2.90445975568758000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
818 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
819
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
820 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
821 bool ok = StringToDouble(r, "2.09055301456874000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
822 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
823 EXPECT_NEAR(2.09055301456874000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
824 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
825
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
826 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
827 bool ok = StringToDouble(r, "-0.94747584830211900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
828 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
829 EXPECT_NEAR(-0.94747584830211900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
830 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
831
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
832 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
833 bool ok = StringToDouble(r, "-1.87479371073786000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
834 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
835 EXPECT_NEAR(-1.87479371073786000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
836 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
837
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
838 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
839 bool ok = StringToDouble(r, "-5.77693922561847000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
840 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
841 EXPECT_NEAR(-5.77693922561847000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
842 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
843
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
844 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
845 bool ok = StringToDouble(r, "1.43857452366099000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
846 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
847 EXPECT_NEAR(1.43857452366099000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
848 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
849
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
850 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
851 bool ok = StringToDouble(r, "1.32571155407419000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
852 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
853 EXPECT_NEAR(1.32571155407419000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
854 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
855
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
856 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
857 bool ok = StringToDouble(r, "0.02598140411007480000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
858 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
859 EXPECT_NEAR(0.02598140411007480000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
860 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
861
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
862 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
863 bool ok = StringToDouble(r, "1.63213858956142000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
864 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
865 EXPECT_NEAR(1.63213858956142000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
866 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
867
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
868 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
869 bool ok = StringToDouble(r, "2.87199046737281000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
870 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
871 EXPECT_NEAR(2.87199046737281000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
872 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
873
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
874 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
875 bool ok = StringToDouble(r, "-1.51485641768478000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
876 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
877 EXPECT_NEAR(-1.51485641768478000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
878 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
879
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
880 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
881 bool ok = StringToDouble(r, "0.64286402800302700000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
882 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
883 EXPECT_NEAR(0.64286402800302700000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
884 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
885
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
886 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
887 bool ok = StringToDouble(r, "2.47677130142230000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
888 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
889 EXPECT_NEAR(2.47677130142230000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
890 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
891
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
892 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
893 bool ok = StringToDouble(r, "2.39498987162520000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
894 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
895 EXPECT_NEAR(2.39498987162520000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
896 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
897
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
898 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
899 bool ok = StringToDouble(r, "0.97846593865349600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
900 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
901 EXPECT_NEAR(0.97846593865349600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
902 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
903
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
904 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
905 bool ok = StringToDouble(r, "3.38696988049949000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
906 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
907 EXPECT_NEAR(3.38696988049949000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
908 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
909
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
910 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
911 bool ok = StringToDouble(r, "0.99716557343840900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
912 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
913 EXPECT_NEAR(0.99716557343840900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
914 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
915
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
916 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
917 bool ok = StringToDouble(r, "-0.26983285318203300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
918 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
919 EXPECT_NEAR(-0.26983285318203300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
920 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
921
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
922 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
923 bool ok = StringToDouble(r, "0.02818282704670500000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
924 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
925 EXPECT_NEAR(0.02818282704670500000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
926 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
927
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
928 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
929 bool ok = StringToDouble(r, "-3.33995460770471000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
930 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
931 EXPECT_NEAR(-3.33995460770471000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
932 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
933
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
934 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
935 bool ok = StringToDouble(r, "-1.90961343273142000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
936 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
937 EXPECT_NEAR(-1.90961343273142000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
938 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
939
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
940 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
941 bool ok = StringToDouble(r, "-1.70545858631691000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
942 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
943 EXPECT_NEAR(-1.70545858631691000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
944 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
945
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
946 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
947 bool ok = StringToDouble(r, "-2.99837322296447000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
948 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
949 EXPECT_NEAR(-2.99837322296447000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
950 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
951
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
952 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
953 bool ok = StringToDouble(r, "2.52931499785106000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
954 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
955 EXPECT_NEAR(2.52931499785106000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
956 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
957
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
958 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
959 bool ok = StringToDouble(r, "1.50600351005455000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
960 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
961 EXPECT_NEAR(1.50600351005455000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
962 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
963
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
964 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
965 bool ok = StringToDouble(r, "-0.83191012798055900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
966 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
967 EXPECT_NEAR(-0.83191012798055900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
968 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
969
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
970 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
971 bool ok = StringToDouble(r, "2.58090819604341000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
972 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
973 EXPECT_NEAR(2.58090819604341000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
974 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
975
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
976 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
977 bool ok = StringToDouble(r, "-1.95182376827953000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
978 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
979 EXPECT_NEAR(-1.95182376827953000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
980 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
981
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
982 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
983 bool ok = StringToDouble(r, "-5.04199841193785000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
984 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
985 EXPECT_NEAR(-5.04199841193785000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
986 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
987
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
988 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
989 bool ok = StringToDouble(r, "-4.17938850513021000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
990 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
991 EXPECT_NEAR(-4.17938850513021000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
992 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
993
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
994 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
995 bool ok = StringToDouble(r, "-1.66797071567664000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
996 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
997 EXPECT_NEAR(-1.66797071567664000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
998 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
999
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1000 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1001 bool ok = StringToDouble(r, "3.37221015583147000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1002 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1003 EXPECT_NEAR(3.37221015583147000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1004 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1005
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1006 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1007 bool ok = StringToDouble(r, "-4.75673862000485000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1008 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1009 EXPECT_NEAR(-4.75673862000485000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1010 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1011
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1012 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1013 bool ok = StringToDouble(r, "0.79003986824116500000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1014 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1015 EXPECT_NEAR(0.79003986824116500000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1016 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1017
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1018 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1019 bool ok = StringToDouble(r, "-3.86020949016507000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1020 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1021 EXPECT_NEAR(-3.86020949016507000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1022 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1023
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1024 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1025 bool ok = StringToDouble(r, "-2.14082258481500000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1026 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1027 EXPECT_NEAR(-2.14082258481500000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1028 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1029
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1030 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1031 bool ok = StringToDouble(r, "-3.71685664840859000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1032 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1033 EXPECT_NEAR(-3.71685664840859000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1034 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1035
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1036 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1037 bool ok = StringToDouble(r, "-0.93998389083824300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1038 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1039 EXPECT_NEAR(-0.93998389083824300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1040 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1041
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1042 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1043 bool ok = StringToDouble(r, "2.77244357996158000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1044 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1045 EXPECT_NEAR(2.77244357996158000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1046 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1047
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1048 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1049 bool ok = StringToDouble(r, "-0.10595524850565900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1050 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1051 EXPECT_NEAR(-0.10595524850565900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1052 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1053
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1054 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1055 bool ok = StringToDouble(r, "3.69799635213612000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1056 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1057 EXPECT_NEAR(3.69799635213612000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1058 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1059
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1060 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1061 bool ok = StringToDouble(r, "-0.57971250175452400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1062 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1063 EXPECT_NEAR(-0.57971250175452400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1064 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1065
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1066 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1067 bool ok = StringToDouble(r, "-0.92766866933807100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1068 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1069 EXPECT_NEAR(-0.92766866933807100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1070 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1071
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1072 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1073 bool ok = StringToDouble(r, "-5.46991620588858000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1074 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1075 EXPECT_NEAR(-5.46991620588858000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1076 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1077
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1078 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1079 bool ok = StringToDouble(r, "5.94569644123488000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1080 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1081 EXPECT_NEAR(5.94569644123488000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1082 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1083
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1084 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1085 bool ok = StringToDouble(r, "4.18859094010287000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1086 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1087 EXPECT_NEAR(4.18859094010287000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1088 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1089
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1090 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1091 bool ok = StringToDouble(r, "3.03213167005865000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1092 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1093 EXPECT_NEAR(3.03213167005865000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1094 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1095
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1096 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1097 bool ok = StringToDouble(r, "8.81754146434609000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1098 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1099 EXPECT_NEAR(8.81754146434609000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1100 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1101
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1102 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1103 bool ok = StringToDouble(r, "-0.75897430327076600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1104 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1105 EXPECT_NEAR(-0.75897430327076600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1106 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1107
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1108 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1109 bool ok = StringToDouble(r, "1.80047028975912000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1110 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1111 EXPECT_NEAR(1.80047028975912000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1112 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1113
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1114 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1115 bool ok = StringToDouble(r, "-0.00529573224131364000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1116 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1117 EXPECT_NEAR(-0.00529573224131364000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1118 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1119
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1120 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1121 bool ok = StringToDouble(r, "2.71024073322357000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1122 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1123 EXPECT_NEAR(2.71024073322357000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1124 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1125
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1126 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1127 bool ok = StringToDouble(r, "1.60642130185119000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1128 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1129 EXPECT_NEAR(1.60642130185119000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1130 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1131
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1132 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1133 bool ok = StringToDouble(r, "5.09793780927960000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1134 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1135 EXPECT_NEAR(5.09793780927960000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1136 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1137
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1138 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1139 bool ok = StringToDouble(r, "-3.18560965637846000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1140 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1141 EXPECT_NEAR(-3.18560965637846000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1142 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1143
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1144 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1145 bool ok = StringToDouble(r, "-3.13078526893487000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1146 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1147 EXPECT_NEAR(-3.13078526893487000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1148 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1149
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1150 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1151 bool ok = StringToDouble(r, "-4.19951899215254000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1152 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1153 EXPECT_NEAR(-4.19951899215254000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1154 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1155
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1156 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1157 bool ok = StringToDouble(r, "-2.81885534502479000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1158 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1159 EXPECT_NEAR(-2.81885534502479000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1160 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1161
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1162 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1163 bool ok = StringToDouble(r, "1.00480638980341000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1164 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1165 EXPECT_NEAR(1.00480638980341000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1166 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1167
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1168 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1169 bool ok = StringToDouble(r, "-0.35315675289406200000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1170 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1171 EXPECT_NEAR(-0.35315675289406200000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1172 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1173
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1174 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1175 bool ok = StringToDouble(r, "-1.29812812014442000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1176 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1177 EXPECT_NEAR(-1.29812812014442000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1178 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1179
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1180 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1181 bool ok = StringToDouble(r, "-2.98878626408816000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1182 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1183 EXPECT_NEAR(-2.98878626408816000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1184 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1185
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1186 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1187 bool ok = StringToDouble(r, "1.34644737073484000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1188 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1189 EXPECT_NEAR(1.34644737073484000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1190 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1191
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1192 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1193 bool ok = StringToDouble(r, "-3.37478492823657000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1194 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1195 EXPECT_NEAR(-3.37478492823657000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1196 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1197
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1198 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1199 bool ok = StringToDouble(r, "-2.97205178784195000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1200 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1201 EXPECT_NEAR(-2.97205178784195000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1202 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1203
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1204 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1205 bool ok = StringToDouble(r, "-4.65165003646427000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1206 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1207 EXPECT_NEAR(-4.65165003646427000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1208 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1209
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1210 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1211 bool ok = StringToDouble(r, "4.89236175545723000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1212 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1213 EXPECT_NEAR(4.89236175545723000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1214 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1215
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1216 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1217 bool ok = StringToDouble(r, "3.80366872242454000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1218 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1219 EXPECT_NEAR(3.80366872242454000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1220 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1221
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1222 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1223 bool ok = StringToDouble(r, "7.65465855719486000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1224 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1225 EXPECT_NEAR(7.65465855719486000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1226 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1227
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1228 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1229 bool ok = StringToDouble(r, "-0.51455943741659600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1230 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1231 EXPECT_NEAR(-0.51455943741659600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1232 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1233
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1234 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1235 bool ok = StringToDouble(r, "5.14337541345649000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1236 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1237 EXPECT_NEAR(5.14337541345649000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1238 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1239
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1240 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1241 bool ok = StringToDouble(r, "1.06909574569091000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1242 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1243 EXPECT_NEAR(1.06909574569091000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1244 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1245
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1246 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1247 bool ok = StringToDouble(r, "-1.07698497525470000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1248 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1249 EXPECT_NEAR(-1.07698497525470000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1250 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1251
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1252 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1253 bool ok = StringToDouble(r, "2.04223854975535000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1254 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1255 EXPECT_NEAR(2.04223854975535000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1256 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1257
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1258 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1259 bool ok = StringToDouble(r, "1.46422724459484000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1260 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1261 EXPECT_NEAR(1.46422724459484000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1262 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1263
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1264 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1265 bool ok = StringToDouble(r, "-1.65888981424971000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1266 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1267 EXPECT_NEAR(-1.65888981424971000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1268 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1269
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1270 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1271 bool ok = StringToDouble(r, "-7.10193673069906000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1272 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1273 EXPECT_NEAR(-7.10193673069906000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1274 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1275
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1276 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1277 bool ok = StringToDouble(r, "-0.77638222509466500000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1278 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1279 EXPECT_NEAR(-0.77638222509466500000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1280 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1281
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1282 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1283 bool ok = StringToDouble(r, "2.15543610545042000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1284 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1285 EXPECT_NEAR(2.15543610545042000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1286 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1287
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1288 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1289 bool ok = StringToDouble(r, "2.51787760900314000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1290 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1291 EXPECT_NEAR(2.51787760900314000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1292 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1293
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1294 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1295 bool ok = StringToDouble(r, "-1.09022915694655000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1296 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1297 EXPECT_NEAR(-1.09022915694655000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1298 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1299
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1300 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1301 bool ok = StringToDouble(r, "-1.41861013154040000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1302 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1303 EXPECT_NEAR(-1.41861013154040000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1304 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1305
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1306 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1307 bool ok = StringToDouble(r, "-1.40227565288403000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1308 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1309 EXPECT_NEAR(-1.40227565288403000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1310 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1311
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1312 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1313 bool ok = StringToDouble(r, "-0.44321592617247400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1314 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1315 EXPECT_NEAR(-0.44321592617247400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1316 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1317
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1318 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1319 bool ok = StringToDouble(r, "-2.34090258417639000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1320 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1321 EXPECT_NEAR(-2.34090258417639000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1322 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1323
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1324 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1325 bool ok = StringToDouble(r, "0.54291265629528700000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1326 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1327 EXPECT_NEAR(0.54291265629528700000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1328 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1329
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1330 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1331 bool ok = StringToDouble(r, "1.70700051509186000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1332 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1333 EXPECT_NEAR(1.70700051509186000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1334 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1335
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1336 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1337 bool ok = StringToDouble(r, "-6.55072864947955000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1338 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1339 EXPECT_NEAR(-6.55072864947955000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1340 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1341
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1342 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1343 bool ok = StringToDouble(r, "-1.96741942560520000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1344 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1345 EXPECT_NEAR(-1.96741942560520000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1346 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1347
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1348 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1349 bool ok = StringToDouble(r, "3.55202552301084000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1350 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1351 EXPECT_NEAR(3.55202552301084000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1352 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1353
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1354 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1355 bool ok = StringToDouble(r, "0.36133250863907300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1356 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1357 EXPECT_NEAR(0.36133250863907300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1358 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1359
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1360 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1361 bool ok = StringToDouble(r, "-1.46513564511238000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1362 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1363 EXPECT_NEAR(-1.46513564511238000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1364 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1365
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1366 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1367 bool ok = StringToDouble(r, "1.97424909475891000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1368 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1369 EXPECT_NEAR(1.97424909475891000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1370 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1371
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1372 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1373 bool ok = StringToDouble(r, "0.87005014400085000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1374 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1375 EXPECT_NEAR(0.87005014400085000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1376 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1377
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1378 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1379 bool ok = StringToDouble(r, "-1.25552308785543000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1380 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1381 EXPECT_NEAR(-1.25552308785543000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1382 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1383
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1384 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1385 bool ok = StringToDouble(r, "-0.43365620710902500000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1386 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1387 EXPECT_NEAR(-0.43365620710902500000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1388 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1389
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1390 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1391 bool ok = StringToDouble(r, "1.17392137573999000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1392 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1393 EXPECT_NEAR(1.17392137573999000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1394 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1395
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1396 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1397 bool ok = StringToDouble(r, "-4.56870774575795000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1398 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1399 EXPECT_NEAR(-4.56870774575795000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1400 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1401
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1402 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1403 bool ok = StringToDouble(r, "0.07449225479459900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1404 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1405 EXPECT_NEAR(0.07449225479459900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1406 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1407
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1408 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1409 bool ok = StringToDouble(r, "5.25905472211571000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1410 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1411 EXPECT_NEAR(5.25905472211571000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1412 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1413
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1414 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1415 bool ok = StringToDouble(r, "-2.13708454690765000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1416 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1417 EXPECT_NEAR(-2.13708454690765000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1418 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1419
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1420 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1421 bool ok = StringToDouble(r, "0.08223808231444500000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1422 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1423 EXPECT_NEAR(0.08223808231444500000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1424 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1425
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1426 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1427 bool ok = StringToDouble(r, "-1.69624060459529000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1428 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1429 EXPECT_NEAR(-1.69624060459529000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1430 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1431
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1432 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1433 bool ok = StringToDouble(r, "4.87232652840742000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1434 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1435 EXPECT_NEAR(4.87232652840742000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1436 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1437
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1438 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1439 bool ok = StringToDouble(r, "-0.20739068103174300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1440 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1441 EXPECT_NEAR(-0.20739068103174300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1442 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1443
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1444 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1445 bool ok = StringToDouble(r, "-0.45449313279700600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1446 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1447 EXPECT_NEAR(-0.45449313279700600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1448 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1449
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1450 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1451 bool ok = StringToDouble(r, "-1.06604828436047000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1452 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1453 EXPECT_NEAR(-1.06604828436047000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1454 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1455
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1456 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1457 bool ok = StringToDouble(r, "0.16603807756896700000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1458 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1459 EXPECT_NEAR(0.16603807756896700000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1460 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1461
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1462 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1463 bool ok = StringToDouble(r, "6.56288534361719000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1464 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1465 EXPECT_NEAR(6.56288534361719000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1466 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1467
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1468 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1469 bool ok = StringToDouble(r, "1.28481655900710000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1470 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1471 EXPECT_NEAR(1.28481655900710000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1472 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1473
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1474 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1475 bool ok = StringToDouble(r, "0.79412040010646300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1476 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1477 EXPECT_NEAR(0.79412040010646300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1478 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1479
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1480 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1481 bool ok = StringToDouble(r, "-2.90088144503330000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1482 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1483 EXPECT_NEAR(-2.90088144503330000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1484 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1485
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1486 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1487 bool ok = StringToDouble(r, "-0.65278657648370200000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1488 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1489 EXPECT_NEAR(-0.65278657648370200000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1490 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1491
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1492 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1493 bool ok = StringToDouble(r, "-2.40305895338068000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1494 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1495 EXPECT_NEAR(-2.40305895338068000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1496 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1497
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1498 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1499 bool ok = StringToDouble(r, "1.07193308249503000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1500 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1501 EXPECT_NEAR(1.07193308249503000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1502 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1503
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1504 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1505 bool ok = StringToDouble(r, "0.83752112822253600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1506 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1507 EXPECT_NEAR(0.83752112822253600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1508 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1509
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1510 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1511 bool ok = StringToDouble(r, "-0.63174453257058400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1512 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1513 EXPECT_NEAR(-0.63174453257058400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1514 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1515
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1516 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1517 bool ok = StringToDouble(r, "1.80163760021425000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1518 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1519 EXPECT_NEAR(1.80163760021425000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1520 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1521
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1522 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1523 bool ok = StringToDouble(r, "-3.57922670044433000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1524 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1525 EXPECT_NEAR(-3.57922670044433000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1526 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1527
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1528 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1529 bool ok = StringToDouble(r, "6.80309348037215000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1530 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1531 EXPECT_NEAR(6.80309348037215000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1532 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1533
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1534 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1535 bool ok = StringToDouble(r, "4.03658264005365000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1536 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1537 EXPECT_NEAR(4.03658264005365000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1538 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1539
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1540 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1541 bool ok = StringToDouble(r, "8.57714214650747000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1542 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1543 EXPECT_NEAR(8.57714214650747000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1544 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1545
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1546 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1547 bool ok = StringToDouble(r, "-0.25657256359494300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1548 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1549 EXPECT_NEAR(-0.25657256359494300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1550 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1551
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1552 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1553 bool ok = StringToDouble(r, "2.07218601388076000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1554 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1555 EXPECT_NEAR(2.07218601388076000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1556 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1557
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1558 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1559 bool ok = StringToDouble(r, "-0.70300607815345600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1560 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1561 EXPECT_NEAR(-0.70300607815345600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1562 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1563
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1564 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1565 bool ok = StringToDouble(r, "-0.06822028770915030000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1566 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1567 EXPECT_NEAR(-0.06822028770915030000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1568 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1569
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1570 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1571 bool ok = StringToDouble(r, "-0.52253514473857300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1572 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1573 EXPECT_NEAR(-0.52253514473857300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1574 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1575
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1576 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1577 bool ok = StringToDouble(r, "-2.89211508282910000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1578 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1579 EXPECT_NEAR(-2.89211508282910000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1580 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1581
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1582 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1583 bool ok = StringToDouble(r, "-1.47331243043688000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1584 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1585 EXPECT_NEAR(-1.47331243043688000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1586 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1587
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1588 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1589 bool ok = StringToDouble(r, "-3.77190031720697000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1590 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1591 EXPECT_NEAR(-3.77190031720697000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1592 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1593
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1594 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1595 bool ok = StringToDouble(r, "-0.80704979593058400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1596 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1597 EXPECT_NEAR(-0.80704979593058400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1598 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1599
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1600 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1601 bool ok = StringToDouble(r, "1.58398766715845000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1602 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1603 EXPECT_NEAR(1.58398766715845000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1604 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1605
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1606 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1607 bool ok = StringToDouble(r, "2.59532008540482000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1608 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1609 EXPECT_NEAR(2.59532008540482000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1610 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1611
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1612 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1613 bool ok = StringToDouble(r, "-2.92824570343456000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1614 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1615 EXPECT_NEAR(-2.92824570343456000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1616 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1617
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1618 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1619 bool ok = StringToDouble(r, "-0.15232705272560400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1620 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1621 EXPECT_NEAR(-0.15232705272560400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1622 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1623
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1624 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1625 bool ok = StringToDouble(r, "0.13670276871382500000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1626 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1627 EXPECT_NEAR(0.13670276871382500000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1628 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1629
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1630 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1631 bool ok = StringToDouble(r, "2.20063314286385000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1632 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1633 EXPECT_NEAR(2.20063314286385000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1634 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1635
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1636 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1637 bool ok = StringToDouble(r, "2.20390958339690000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1638 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1639 EXPECT_NEAR(2.20390958339690000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1640 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1641
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1642 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1643 bool ok = StringToDouble(r, "-1.01999231401200000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1644 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1645 EXPECT_NEAR(-1.01999231401200000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1646 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1647
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1648 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1649 bool ok = StringToDouble(r, "-4.33696129476675000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1650 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1651 EXPECT_NEAR(-4.33696129476675000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1652 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1653
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1654 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1655 bool ok = StringToDouble(r, "-3.97472839619216000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1656 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1657 EXPECT_NEAR(-3.97472839619216000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1658 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1659
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1660 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1661 bool ok = StringToDouble(r, "-3.25935508044004000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1662 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1663 EXPECT_NEAR(-3.25935508044004000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1664 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1665
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1666 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1667 bool ok = StringToDouble(r, "3.98737992668548000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1668 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1669 EXPECT_NEAR(3.98737992668548000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1670 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1671
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1672 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1673 bool ok = StringToDouble(r, "3.12647380973595000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1674 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1675 EXPECT_NEAR(3.12647380973595000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1676 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1677
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1678 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1679 bool ok = StringToDouble(r, "2.04573005673487000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1680 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1681 EXPECT_NEAR(2.04573005673487000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1682 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1683
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1684 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1685 bool ok = StringToDouble(r, "-3.40131707240240000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1686 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1687 EXPECT_NEAR(-3.40131707240240000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1688 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1689
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1690 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1691 bool ok = StringToDouble(r, "-5.65350895248975000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1692 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1693 EXPECT_NEAR(-5.65350895248975000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1694 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1695
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1696 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1697 bool ok = StringToDouble(r, "1.94344081509933000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1698 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1699 EXPECT_NEAR(1.94344081509933000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1700 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1701
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1702 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1703 bool ok = StringToDouble(r, "4.72697189247371000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1704 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1705 EXPECT_NEAR(4.72697189247371000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1706 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1707
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1708 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1709 bool ok = StringToDouble(r, "-6.67990308483490000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1710 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1711 EXPECT_NEAR(-6.67990308483490000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1712 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1713
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1714 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1715 bool ok = StringToDouble(r, "1.32343310660542000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1716 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1717 EXPECT_NEAR(1.32343310660542000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1718 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1719
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1720 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1721 bool ok = StringToDouble(r, "-2.78517123090950000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1722 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1723 EXPECT_NEAR(-2.78517123090950000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1724 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1725
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1726 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1727 bool ok = StringToDouble(r, "5.25849816293583000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1728 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1729 EXPECT_NEAR(5.25849816293583000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1730 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1731
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1732 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1733 bool ok = StringToDouble(r, "4.75396267700095000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1734 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1735 EXPECT_NEAR(4.75396267700095000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1736 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1737
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1738 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1739 bool ok = StringToDouble(r, "-2.07647901824168000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1740 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1741 EXPECT_NEAR(-2.07647901824168000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1742 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1743
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1744 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1745 bool ok = StringToDouble(r, "-3.38047538070258000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1746 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1747 EXPECT_NEAR(-3.38047538070258000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1748 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1749
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1750 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1751 bool ok = StringToDouble(r, "0.20758597742145100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1752 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1753 EXPECT_NEAR(0.20758597742145100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1754 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1755
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1756 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1757 bool ok = StringToDouble(r, "-0.85537090667122100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1758 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1759 EXPECT_NEAR(-0.85537090667122100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1760 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1761
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1762 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1763 bool ok = StringToDouble(r, "0.76805423797310000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1764 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1765 EXPECT_NEAR(0.76805423797310000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1766 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1767
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1768 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1769 bool ok = StringToDouble(r, "4.40449492713592000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1770 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1771 EXPECT_NEAR(4.40449492713592000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1772 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1773
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1774 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1775 bool ok = StringToDouble(r, "-3.62167096457336000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1776 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1777 EXPECT_NEAR(-3.62167096457336000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1778 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1779
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1780 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1781 bool ok = StringToDouble(r, "3.74002997550002000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1782 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1783 EXPECT_NEAR(3.74002997550002000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1784 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1785
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1786 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1787 bool ok = StringToDouble(r, "0.42443064164790400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1788 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1789 EXPECT_NEAR(0.42443064164790400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1790 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1791
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1792 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1793 bool ok = StringToDouble(r, "-0.27951604455776900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1794 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1795 EXPECT_NEAR(-0.27951604455776900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1796 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1797
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1798 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1799 bool ok = StringToDouble(r, "-0.51579267322296100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1800 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1801 EXPECT_NEAR(-0.51579267322296100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1802 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1803
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1804 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1805 bool ok = StringToDouble(r, "-2.36457251883339000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1806 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1807 EXPECT_NEAR(-2.36457251883339000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1808 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1809
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1810 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1811 bool ok = StringToDouble(r, "-0.24583724281163800000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1812 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1813 EXPECT_NEAR(-0.24583724281163800000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1814 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1815
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1816 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1817 bool ok = StringToDouble(r, "0.89377268220461400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1818 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1819 EXPECT_NEAR(0.89377268220461400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1820 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1821
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1822 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1823 bool ok = StringToDouble(r, "1.45674815825147000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1824 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1825 EXPECT_NEAR(1.45674815825147000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1826 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1827
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1828 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1829 bool ok = StringToDouble(r, "-3.85885778179785000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1830 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1831 EXPECT_NEAR(-3.85885778179785000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1832 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1833
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1834 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1835 bool ok = StringToDouble(r, "-1.46665640857091000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1836 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1837 EXPECT_NEAR(-1.46665640857091000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1838 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1839
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1840 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1841 bool ok = StringToDouble(r, "-2.20955012166670000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1842 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1843 EXPECT_NEAR(-2.20955012166670000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1844 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1845
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1846 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1847 bool ok = StringToDouble(r, "-3.56901773371710000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1848 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1849 EXPECT_NEAR(-3.56901773371710000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1850 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1851
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1852 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1853 bool ok = StringToDouble(r, "-0.28236715260714000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1854 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1855 EXPECT_NEAR(-0.28236715260714000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1856 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1857
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1858 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1859 bool ok = StringToDouble(r, "-3.68701183150938000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1860 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1861 EXPECT_NEAR(-3.68701183150938000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1862 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1863
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1864 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1865 bool ok = StringToDouble(r, "-2.52491544332882000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1866 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1867 EXPECT_NEAR(-2.52491544332882000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1868 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1869
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1870 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1871 bool ok = StringToDouble(r, "-0.35369978756681100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1872 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1873 EXPECT_NEAR(-0.35369978756681100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1874 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1875
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1876 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1877 bool ok = StringToDouble(r, "1.37511760913818000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1878 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1879 EXPECT_NEAR(1.37511760913818000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1880 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1881
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1882 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1883 bool ok = StringToDouble(r, "-2.97143364160106000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1884 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1885 EXPECT_NEAR(-2.97143364160106000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1886 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1887
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1888 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1889 bool ok = StringToDouble(r, "0.24559477959438200000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1890 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1891 EXPECT_NEAR(0.24559477959438200000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1892 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1893
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1894 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1895 bool ok = StringToDouble(r, "4.75423032204965000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1896 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1897 EXPECT_NEAR(4.75423032204965000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1898 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1899
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1900 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1901 bool ok = StringToDouble(r, "-0.32370293533555300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1902 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1903 EXPECT_NEAR(-0.32370293533555300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1904 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1905
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1906 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1907 bool ok = StringToDouble(r, "-0.91057697616735300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1908 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1909 EXPECT_NEAR(-0.91057697616735300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1910 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1911
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1912 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1913 bool ok = StringToDouble(r, "5.47061739750017000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1914 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1915 EXPECT_NEAR(5.47061739750017000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1916 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1917
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1918 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1919 bool ok = StringToDouble(r, "4.00584944044255000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1920 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1921 EXPECT_NEAR(4.00584944044255000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1922 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1923
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1924 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1925 bool ok = StringToDouble(r, "4.50109276836214000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1926 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1927 EXPECT_NEAR(4.50109276836214000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1928 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1929
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1930 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1931 bool ok = StringToDouble(r, "-3.55007311077336000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1932 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1933 EXPECT_NEAR(-3.55007311077336000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1934 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1935
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1936 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1937 bool ok = StringToDouble(r, "6.72362848947278000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1938 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1939 EXPECT_NEAR(6.72362848947278000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1940 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1941
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1942 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1943 bool ok = StringToDouble(r, "0.01151577930873910000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1944 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1945 EXPECT_NEAR(0.01151577930873910000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1946 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1947
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1948 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1949 bool ok = StringToDouble(r, "-0.42911860719965600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1950 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1951 EXPECT_NEAR(-0.42911860719965600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1952 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1953
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1954 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1955 bool ok = StringToDouble(r, "0.66111289816664900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1956 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1957 EXPECT_NEAR(0.66111289816664900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1958 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1959
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1960 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1961 bool ok = StringToDouble(r, "-2.86619326895662000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1962 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1963 EXPECT_NEAR(-2.86619326895662000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1964 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1965
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1966 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1967 bool ok = StringToDouble(r, "0.55732089555551800000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1968 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1969 EXPECT_NEAR(0.55732089555551800000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1970 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1971
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1972 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1973 bool ok = StringToDouble(r, "1.30341160871063000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1974 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1975 EXPECT_NEAR(1.30341160871063000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1976 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1977
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1978 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1979 bool ok = StringToDouble(r, "-1.56416171751671000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1980 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1981 EXPECT_NEAR(-1.56416171751671000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1982 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1983
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1984 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1985 bool ok = StringToDouble(r, "-0.18594183907073900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1986 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1987 EXPECT_NEAR(-0.18594183907073900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1988 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1989
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1990 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1991 bool ok = StringToDouble(r, "-1.76842629255481000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1992 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1993 EXPECT_NEAR(-1.76842629255481000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1994 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1995
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1996 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1997 bool ok = StringToDouble(r, "-0.51401910241563500000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1998 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
1999 EXPECT_NEAR(-0.51401910241563500000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2000 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2001
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2002 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2003 bool ok = StringToDouble(r, "0.22475819701855600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2004 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2005 EXPECT_NEAR(0.22475819701855600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2006 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2007
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2008 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2009 bool ok = StringToDouble(r, "4.52647532265208000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2010 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2011 EXPECT_NEAR(4.52647532265208000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2012 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2013
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2014 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2015 bool ok = StringToDouble(r, "0.36302691626541400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2016 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2017 EXPECT_NEAR(0.36302691626541400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2018 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2019
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2020 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2021 bool ok = StringToDouble(r, "3.97344494357431000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2022 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2023 EXPECT_NEAR(3.97344494357431000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2024 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2025
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2026 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2027 bool ok = StringToDouble(r, "1.55983273528683000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2028 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2029 EXPECT_NEAR(1.55983273528683000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2030 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2031
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2032 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2033 bool ok = StringToDouble(r, "-1.11831213859734000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2034 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2035 EXPECT_NEAR(-1.11831213859734000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2036 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2037
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2038 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2039 bool ok = StringToDouble(r, "-1.65912510665320000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2040 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2041 EXPECT_NEAR(-1.65912510665320000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2042 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2043
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2044 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2045 bool ok = StringToDouble(r, "-0.49382686162217300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2046 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2047 EXPECT_NEAR(-0.49382686162217300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2048 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2049
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2050 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2051 bool ok = StringToDouble(r, "-2.82681319206813000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2052 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2053 EXPECT_NEAR(-2.82681319206813000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2054 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2055
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2056 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2057 bool ok = StringToDouble(r, "0.63990018376158400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2058 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2059 EXPECT_NEAR(0.63990018376158400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2060 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2061
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2062 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2063 bool ok = StringToDouble(r, "-1.46190583889476000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2064 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2065 EXPECT_NEAR(-1.46190583889476000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2066 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2067
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2068 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2069 bool ok = StringToDouble(r, "-5.33778970852365000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2070 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2071 EXPECT_NEAR(-5.33778970852365000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2072 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2073
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2074 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2075 bool ok = StringToDouble(r, "-3.67479071577411000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2076 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2077 EXPECT_NEAR(-3.67479071577411000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2078 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2079
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2080 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2081 bool ok = StringToDouble(r, "-0.92524843393689500000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2082 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2083 EXPECT_NEAR(-0.92524843393689500000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2084 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2085
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2086 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2087 bool ok = StringToDouble(r, "-5.25880026429762000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2088 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2089 EXPECT_NEAR(-5.25880026429762000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2090 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2091
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2092 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2093 bool ok = StringToDouble(r, "0.74489327613996700000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2094 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2095 EXPECT_NEAR(0.74489327613996700000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2096 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2097
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2098 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2099 bool ok = StringToDouble(r, "-0.81221138965657700000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2100 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2101 EXPECT_NEAR(-0.81221138965657700000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2102 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2103
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2104 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2105 bool ok = StringToDouble(r, "2.63922583575742000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2106 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2107 EXPECT_NEAR(2.63922583575742000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2108 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2109
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2110 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2111 bool ok = StringToDouble(r, "-1.46277795175279000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2112 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2113 EXPECT_NEAR(-1.46277795175279000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2114 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2115
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2116 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2117 bool ok = StringToDouble(r, "1.92701639727950000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2118 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2119 EXPECT_NEAR(1.92701639727950000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2120 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2121
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2122 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2123 bool ok = StringToDouble(r, "-1.00608886511047000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2124 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2125 EXPECT_NEAR(-1.00608886511047000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2126 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2127
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2128 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2129 bool ok = StringToDouble(r, "2.59692755566202000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2130 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2131 EXPECT_NEAR(2.59692755566202000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2132 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2133
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2134 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2135 bool ok = StringToDouble(r, "-4.43660191582482000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2136 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2137 EXPECT_NEAR(-4.43660191582482000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2138 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2139
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2140 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2141 bool ok = StringToDouble(r, "2.81340386111566000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2142 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2143 EXPECT_NEAR(2.81340386111566000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2144 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2145
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2146 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2147 bool ok = StringToDouble(r, "4.41381029424169000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2148 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2149 EXPECT_NEAR(4.41381029424169000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2150 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2151
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2152 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2153 bool ok = StringToDouble(r, "-1.19067619994638000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2154 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2155 EXPECT_NEAR(-1.19067619994638000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2156 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2157
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2158 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2159 bool ok = StringToDouble(r, "0.41344288416300500000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2160 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2161 EXPECT_NEAR(0.41344288416300500000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2162 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2163
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2164 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2165 bool ok = StringToDouble(r, "1.19449050806631000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2166 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2167 EXPECT_NEAR(1.19449050806631000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2168 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2169
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2170 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2171 bool ok = StringToDouble(r, "1.94346623486537000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2172 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2173 EXPECT_NEAR(1.94346623486537000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2174 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2175
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2176 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2177 bool ok = StringToDouble(r, "-0.15222182306952000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2178 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2179 EXPECT_NEAR(-0.15222182306952000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2180 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2181
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2182 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2183 bool ok = StringToDouble(r, "1.16597270635016000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2184 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2185 EXPECT_NEAR(1.16597270635016000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2186 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2187
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2188 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2189 bool ok = StringToDouble(r, "0.70800933434033500000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2190 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2191 EXPECT_NEAR(0.70800933434033500000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2192 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2193
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2194 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2195 bool ok = StringToDouble(r, "1.01520859362049000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2196 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2197 EXPECT_NEAR(1.01520859362049000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2198 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2199
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2200 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2201 bool ok = StringToDouble(r, "-0.99808924291921000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2202 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2203 EXPECT_NEAR(-0.99808924291921000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2204 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2205
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2206 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2207 bool ok = StringToDouble(r, "-2.46413571523617000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2208 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2209 EXPECT_NEAR(-2.46413571523617000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2210 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2211
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2212 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2213 bool ok = StringToDouble(r, "0.23372155013436100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2214 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2215 EXPECT_NEAR(0.23372155013436100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2216 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2217
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2218 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2219 bool ok = StringToDouble(r, "0.22220872747082200000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2220 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2221 EXPECT_NEAR(0.22220872747082200000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2222 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2223
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2224 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2225 bool ok = StringToDouble(r, "4.45231083327185000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2226 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2227 EXPECT_NEAR(4.45231083327185000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2228 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2229
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2230 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2231 bool ok = StringToDouble(r, "0.18629931302726700000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2232 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2233 EXPECT_NEAR(0.18629931302726700000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2234 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2235
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2236 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2237 bool ok = StringToDouble(r, "-1.25902351261081000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2238 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2239 EXPECT_NEAR(-1.25902351261081000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2240 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2241
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2242 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2243 bool ok = StringToDouble(r, "-4.74979626491734000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2244 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2245 EXPECT_NEAR(-4.74979626491734000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2246 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2247
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2248 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2249 bool ok = StringToDouble(r, "0.96938763187002300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2250 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2251 EXPECT_NEAR(0.96938763187002300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2252 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2253
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2254 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2255 bool ok = StringToDouble(r, "4.01957662295404000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2256 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2257 EXPECT_NEAR(4.01957662295404000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2258 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2259
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2260 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2261 bool ok = StringToDouble(r, "-4.29052978268713000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2262 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2263 EXPECT_NEAR(-4.29052978268713000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2264 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2265
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2266 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2267 bool ok = StringToDouble(r, "1.72223107008226000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2268 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2269 EXPECT_NEAR(1.72223107008226000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2270 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2271
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2272 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2273 bool ok = StringToDouble(r, "-1.02075269473024000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2274 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2275 EXPECT_NEAR(-1.02075269473024000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2276 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2277
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2278 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2279 bool ok = StringToDouble(r, "1.41254866425811000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2280 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2281 EXPECT_NEAR(1.41254866425811000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2282 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2283
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2284 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2285 bool ok = StringToDouble(r, "-5.79485280000328000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2286 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2287 EXPECT_NEAR(-5.79485280000328000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2288 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2289
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2290 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2291 bool ok = StringToDouble(r, "1.71346724218879000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2292 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2293 EXPECT_NEAR(1.71346724218879000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2294 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2295
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2296 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2297 bool ok = StringToDouble(r, "0.02769972220451300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2298 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2299 EXPECT_NEAR(0.02769972220451300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2300 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2301
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2302 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2303 bool ok = StringToDouble(r, "0.30840233811538300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2304 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2305 EXPECT_NEAR(0.30840233811538300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2306 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2307
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2308 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2309 bool ok = StringToDouble(r, "2.46998368658050000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2310 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2311 EXPECT_NEAR(2.46998368658050000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2312 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2313
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2314 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2315 bool ok = StringToDouble(r, "-1.39027116095637000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2316 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2317 EXPECT_NEAR(-1.39027116095637000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2318 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2319
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2320 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2321 bool ok = StringToDouble(r, "-4.76287623175477000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2322 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2323 EXPECT_NEAR(-4.76287623175477000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2324 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2325
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2326 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2327 bool ok = StringToDouble(r, "-1.32254147772188000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2328 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2329 EXPECT_NEAR(-1.32254147772188000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2330 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2331
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2332 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2333 bool ok = StringToDouble(r, "-0.43476530791568300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2334 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2335 EXPECT_NEAR(-0.43476530791568300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2336 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2337
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2338 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2339 bool ok = StringToDouble(r, "1.15293149279800000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2340 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2341 EXPECT_NEAR(1.15293149279800000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2342 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2343
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2344 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2345 bool ok = StringToDouble(r, "2.52187680632247000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2346 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2347 EXPECT_NEAR(2.52187680632247000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2348 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2349
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2350 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2351 bool ok = StringToDouble(r, "-2.81464816227136000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2352 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2353 EXPECT_NEAR(-2.81464816227136000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2354 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2355
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2356 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2357 bool ok = StringToDouble(r, "1.45410471462063000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2358 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2359 EXPECT_NEAR(1.45410471462063000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2360 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2361
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2362 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2363 bool ok = StringToDouble(r, "2.05770661428355000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2364 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2365 EXPECT_NEAR(2.05770661428355000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2366 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2367
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2368 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2369 bool ok = StringToDouble(r, "1.13365631051443000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2370 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2371 EXPECT_NEAR(1.13365631051443000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2372 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2373
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2374 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2375 bool ok = StringToDouble(r, "1.78752268413674000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2376 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2377 EXPECT_NEAR(1.78752268413674000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2378 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2379
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2380 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2381 bool ok = StringToDouble(r, "-3.07653691039301000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2382 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2383 EXPECT_NEAR(-3.07653691039301000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2384 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2385
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2386 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2387 bool ok = StringToDouble(r, "0.69590678743817200000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2388 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2389 EXPECT_NEAR(0.69590678743817200000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2390 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2391
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2392 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2393 bool ok = StringToDouble(r, "0.16750017237716000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2394 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2395 EXPECT_NEAR(0.16750017237716000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2396 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2397
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2398 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2399 bool ok = StringToDouble(r, "-0.80454059859949500000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2400 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2401 EXPECT_NEAR(-0.80454059859949500000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2402 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2403
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2404 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2405 bool ok = StringToDouble(r, "1.01080121519000000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2406 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2407 EXPECT_NEAR(1.01080121519000000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2408 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2409
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2410 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2411 bool ok = StringToDouble(r, "-6.26823154211325000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2412 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2413 EXPECT_NEAR(-6.26823154211325000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2414 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2415
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2416 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2417 bool ok = StringToDouble(r, "-2.27168923945051000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2418 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2419 EXPECT_NEAR(-2.27168923945051000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2420 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2421
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2422 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2423 bool ok = StringToDouble(r, "2.95882006177823000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2424 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2425 EXPECT_NEAR(2.95882006177823000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2426 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2427
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2428 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2429 bool ok = StringToDouble(r, "-1.29782169884960000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2430 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2431 EXPECT_NEAR(-1.29782169884960000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2432 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2433
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2434 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2435 bool ok = StringToDouble(r, "-5.18868107998160000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2436 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2437 EXPECT_NEAR(-5.18868107998160000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2438 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2439
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2440 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2441 bool ok = StringToDouble(r, "4.42221680213317000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2442 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2443 EXPECT_NEAR(4.42221680213317000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2444 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2445
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2446 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2447 bool ok = StringToDouble(r, "-1.97658929351465000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2448 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2449 EXPECT_NEAR(-1.97658929351465000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2450 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2451
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2452 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2453 bool ok = StringToDouble(r, "3.76786358453912000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2454 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2455 EXPECT_NEAR(3.76786358453912000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2456 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2457
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2458 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2459 bool ok = StringToDouble(r, "-2.63996015852897000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2460 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2461 EXPECT_NEAR(-2.63996015852897000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2462 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2463
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2464 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2465 bool ok = StringToDouble(r, "5.53048948235281000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2466 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2467 EXPECT_NEAR(5.53048948235281000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2468 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2469
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2470 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2471 bool ok = StringToDouble(r, "-2.72713707173900000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2472 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2473 EXPECT_NEAR(-2.72713707173900000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2474 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2475
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2476 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2477 bool ok = StringToDouble(r, "-3.67678586641071000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2478 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2479 EXPECT_NEAR(-3.67678586641071000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2480 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2481
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2482 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2483 bool ok = StringToDouble(r, "2.27938145860632000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2484 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2485 EXPECT_NEAR(2.27938145860632000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2486 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2487
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2488 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2489 bool ok = StringToDouble(r, "2.67198854485259000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2490 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2491 EXPECT_NEAR(2.67198854485259000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2492 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2493
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2494 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2495 bool ok = StringToDouble(r, "1.08448300379640000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2496 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2497 EXPECT_NEAR(1.08448300379640000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2498 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2499
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2500 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2501 bool ok = StringToDouble(r, "0.89200760812645600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2502 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2503 EXPECT_NEAR(0.89200760812645600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2504 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2505
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2506 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2507 bool ok = StringToDouble(r, "5.84610740591283000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2508 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2509 EXPECT_NEAR(5.84610740591283000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2510 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2511
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2512 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2513 bool ok = StringToDouble(r, "2.33520422865196000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2514 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2515 EXPECT_NEAR(2.33520422865196000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2516 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2517
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2518 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2519 bool ok = StringToDouble(r, "-0.26977509689943300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2520 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2521 EXPECT_NEAR(-0.26977509689943300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2522 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2523
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2524 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2525 bool ok = StringToDouble(r, "-1.06556998317024000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2526 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2527 EXPECT_NEAR(-1.06556998317024000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2528 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2529
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2530 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2531 bool ok = StringToDouble(r, "0.10187258099846900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2532 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2533 EXPECT_NEAR(0.10187258099846900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2534 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2535
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2536 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2537 bool ok = StringToDouble(r, "2.17925123727943000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2538 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2539 EXPECT_NEAR(2.17925123727943000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2540 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2541
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2542 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2543 bool ok = StringToDouble(r, "3.53744857107300000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2544 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2545 EXPECT_NEAR(3.53744857107300000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2546 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2547
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2548 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2549 bool ok = StringToDouble(r, "4.79170718052687000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2550 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2551 EXPECT_NEAR(4.79170718052687000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2552 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2553
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2554 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2555 bool ok = StringToDouble(r, "-1.70094405912437000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2556 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2557 EXPECT_NEAR(-1.70094405912437000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2558 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2559
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2560 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2561 bool ok = StringToDouble(r, "-1.36090079790873000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2562 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2563 EXPECT_NEAR(-1.36090079790873000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2564 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2565
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2566 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2567 bool ok = StringToDouble(r, "-0.24214402582849600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2568 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2569 EXPECT_NEAR(-0.24214402582849600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2570 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2571
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2572 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2573 bool ok = StringToDouble(r, "0.61857148054390100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2574 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2575 EXPECT_NEAR(0.61857148054390100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2576 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2577
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2578 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2579 bool ok = StringToDouble(r, "-4.49681404951875000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2580 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2581 EXPECT_NEAR(-4.49681404951875000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2582 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2583
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2584 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2585 bool ok = StringToDouble(r, "-1.62901170744691000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2586 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2587 EXPECT_NEAR(-1.62901170744691000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2588 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2589
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2590 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2591 bool ok = StringToDouble(r, "-4.31812686057237000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2592 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2593 EXPECT_NEAR(-4.31812686057237000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2594 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2595
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2596 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2597 bool ok = StringToDouble(r, "4.29232513324991000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2598 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2599 EXPECT_NEAR(4.29232513324991000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2600 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2601
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2602 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2603 bool ok = StringToDouble(r, "-4.30415968616239000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2604 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2605 EXPECT_NEAR(-4.30415968616239000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2606 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2607
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2608 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2609 bool ok = StringToDouble(r, "0.23085063327904200000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2610 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2611 EXPECT_NEAR(0.23085063327904200000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2612 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2613
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2614 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2615 bool ok = StringToDouble(r, "0.55328286749515200000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2616 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2617 EXPECT_NEAR(0.55328286749515200000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2618 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2619
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2620 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2621 bool ok = StringToDouble(r, "-2.85987085857330000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2622 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2623 EXPECT_NEAR(-2.85987085857330000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2624 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2625
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2626 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2627 bool ok = StringToDouble(r, "1.91580898949892000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2628 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2629 EXPECT_NEAR(1.91580898949892000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2630 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2631
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2632 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2633 bool ok = StringToDouble(r, "0.83451772893723400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2634 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2635 EXPECT_NEAR(0.83451772893723400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2636 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2637
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2638 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2639 bool ok = StringToDouble(r, "8.47663066417390000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2640 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2641 EXPECT_NEAR(8.47663066417390000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2642 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2643
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2644 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2645 bool ok = StringToDouble(r, "3.07750241770625000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2646 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2647 EXPECT_NEAR(3.07750241770625000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2648 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2649
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2650 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2651 bool ok = StringToDouble(r, "-0.79888627452876900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2652 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2653 EXPECT_NEAR(-0.79888627452876900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2654 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2655
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2656 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2657 bool ok = StringToDouble(r, "3.62390154942094000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2658 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2659 EXPECT_NEAR(3.62390154942094000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2660 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2661
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2662 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2663 bool ok = StringToDouble(r, "-1.15344123017231000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2664 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2665 EXPECT_NEAR(-1.15344123017231000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2666 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2667
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2668 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2669 bool ok = StringToDouble(r, "0.29946850732165400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2670 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2671 EXPECT_NEAR(0.29946850732165400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2672 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2673
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2674 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2675 bool ok = StringToDouble(r, "0.43195118421230900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2676 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2677 EXPECT_NEAR(0.43195118421230900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2678 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2679
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2680 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2681 bool ok = StringToDouble(r, "-0.96541584823575200000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2682 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2683 EXPECT_NEAR(-0.96541584823575200000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2684 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2685
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2686 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2687 bool ok = StringToDouble(r, "5.31046639376194000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2688 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2689 EXPECT_NEAR(5.31046639376194000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2690 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2691
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2692 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2693 bool ok = StringToDouble(r, "5.80868720295308000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2694 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2695 EXPECT_NEAR(5.80868720295308000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2696 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2697
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2698 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2699 bool ok = StringToDouble(r, "3.91875650345864000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2700 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2701 EXPECT_NEAR(3.91875650345864000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2702 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2703
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2704 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2705 bool ok = StringToDouble(r, "0.16383120358956700000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2706 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2707 EXPECT_NEAR(0.16383120358956700000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2708 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2709
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2710 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2711 bool ok = StringToDouble(r, "-0.70602187714556100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2712 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2713 EXPECT_NEAR(-0.70602187714556100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2714 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2715
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2716 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2717 bool ok = StringToDouble(r, "4.59908461641224000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2718 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2719 EXPECT_NEAR(4.59908461641224000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2720 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2721
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2722 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2723 bool ok = StringToDouble(r, "-1.75777826959967000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2724 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2725 EXPECT_NEAR(-1.75777826959967000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2726 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2727
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2728 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2729 bool ok = StringToDouble(r, "7.51297060665513000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2730 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2731 EXPECT_NEAR(7.51297060665513000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2732 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2733
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2734 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2735 bool ok = StringToDouble(r, "0.26428182282563100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2736 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2737 EXPECT_NEAR(0.26428182282563100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2738 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2739
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2740 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2741 bool ok = StringToDouble(r, "-1.39790664337099000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2742 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2743 EXPECT_NEAR(-1.39790664337099000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2744 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2745
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2746 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2747 bool ok = StringToDouble(r, "-3.52727246472497000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2748 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2749 EXPECT_NEAR(-3.52727246472497000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2750 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2751
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2752 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2753 bool ok = StringToDouble(r, "3.15622706860781000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2754 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2755 EXPECT_NEAR(3.15622706860781000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2756 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2757
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2758 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2759 bool ok = StringToDouble(r, "-4.33838258813926000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2760 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2761 EXPECT_NEAR(-4.33838258813926000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2762 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2763
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2764 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2765 bool ok = StringToDouble(r, "-3.68209356689853000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2766 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2767 EXPECT_NEAR(-3.68209356689853000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2768 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2769
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2770 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2771 bool ok = StringToDouble(r, "2.12950059731897000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2772 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2773 EXPECT_NEAR(2.12950059731897000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2774 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2775
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2776 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2777 bool ok = StringToDouble(r, "1.24366467557925000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2778 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2779 EXPECT_NEAR(1.24366467557925000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2780 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2781
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2782 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2783 bool ok = StringToDouble(r, "-1.49620375847259000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2784 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2785 EXPECT_NEAR(-1.49620375847259000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2786 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2787
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2788 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2789 bool ok = StringToDouble(r, "-2.04336416841016000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2790 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2791 EXPECT_NEAR(-2.04336416841016000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2792 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2793
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2794 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2795 bool ok = StringToDouble(r, "2.67258592218424000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2796 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2797 EXPECT_NEAR(2.67258592218424000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2798 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2799
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2800 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2801 bool ok = StringToDouble(r, "0.50983053528049600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2802 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2803 EXPECT_NEAR(0.50983053528049600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2804 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2805
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2806 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2807 bool ok = StringToDouble(r, "0.91671084717300400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2808 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2809 EXPECT_NEAR(0.91671084717300400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2810 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2811
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2812 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2813 bool ok = StringToDouble(r, "-8.44023177630015000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2814 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2815 EXPECT_NEAR(-8.44023177630015000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2816 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2817
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2818 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2819 bool ok = StringToDouble(r, "5.74048232685721000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2820 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2821 EXPECT_NEAR(5.74048232685721000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2822 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2823
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2824 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2825 bool ok = StringToDouble(r, "-2.26893036021697000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2826 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2827 EXPECT_NEAR(-2.26893036021697000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2828 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2829
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2830 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2831 bool ok = StringToDouble(r, "-1.81851986861265000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2832 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2833 EXPECT_NEAR(-1.81851986861265000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2834 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2835
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2836 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2837 bool ok = StringToDouble(r, "1.15033199581975000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2838 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2839 EXPECT_NEAR(1.15033199581975000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2840 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2841
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2842 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2843 bool ok = StringToDouble(r, "1.78498201393837000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2844 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2845 EXPECT_NEAR(1.78498201393837000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2846 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2847
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2848 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2849 bool ok = StringToDouble(r, "-0.05287486584367510000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2850 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2851 EXPECT_NEAR(-0.05287486584367510000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2852 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2853
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2854 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2855 bool ok = StringToDouble(r, "-4.61135813076181000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2856 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2857 EXPECT_NEAR(-4.61135813076181000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2858 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2859
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2860 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2861 bool ok = StringToDouble(r, "2.28026567889772000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2862 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2863 EXPECT_NEAR(2.28026567889772000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2864 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2865
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2866 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2867 bool ok = StringToDouble(r, "4.42191037602383000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2868 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2869 EXPECT_NEAR(4.42191037602383000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2870 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2871
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2872 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2873 bool ok = StringToDouble(r, "4.91926628714024000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2874 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2875 EXPECT_NEAR(4.91926628714024000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2876 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2877
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2878 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2879 bool ok = StringToDouble(r, "2.13695172353534000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2880 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2881 EXPECT_NEAR(2.13695172353534000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2882 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2883
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2884 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2885 bool ok = StringToDouble(r, "-1.19234124167404000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2886 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2887 EXPECT_NEAR(-1.19234124167404000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2888 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2889
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2890 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2891 bool ok = StringToDouble(r, "1.54749310279860000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2892 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2893 EXPECT_NEAR(1.54749310279860000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2894 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2895
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2896 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2897 bool ok = StringToDouble(r, "0.79683457995789900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2898 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2899 EXPECT_NEAR(0.79683457995789900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2900 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2901
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2902 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2903 bool ok = StringToDouble(r, "-0.35976469553121900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2904 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2905 EXPECT_NEAR(-0.35976469553121900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2906 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2907
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2908 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2909 bool ok = StringToDouble(r, "0.77036485893720200000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2910 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2911 EXPECT_NEAR(0.77036485893720200000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2912 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2913
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2914 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2915 bool ok = StringToDouble(r, "3.05245602278075000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2916 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2917 EXPECT_NEAR(3.05245602278075000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2918 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2919
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2920 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2921 bool ok = StringToDouble(r, "5.82693752156961000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2922 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2923 EXPECT_NEAR(5.82693752156961000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2924 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2925
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2926 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2927 bool ok = StringToDouble(r, "2.59176692084240000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2928 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2929 EXPECT_NEAR(2.59176692084240000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2930 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2931
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2932 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2933 bool ok = StringToDouble(r, "4.59390017044970000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2934 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2935 EXPECT_NEAR(4.59390017044970000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2936 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2937
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2938 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2939 bool ok = StringToDouble(r, "4.33597209441560000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2940 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2941 EXPECT_NEAR(4.33597209441560000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2942 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2943
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2944 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2945 bool ok = StringToDouble(r, "-1.73223852215944000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2946 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2947 EXPECT_NEAR(-1.73223852215944000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2948 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2949
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2950 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2951 bool ok = StringToDouble(r, "0.36562951036666300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2952 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2953 EXPECT_NEAR(0.36562951036666300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2954 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2955
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2956 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2957 bool ok = StringToDouble(r, "1.16083819415565000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2958 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2959 EXPECT_NEAR(1.16083819415565000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2960 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2961
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2962 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2963 bool ok = StringToDouble(r, "-5.19457461912900000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2964 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2965 EXPECT_NEAR(-5.19457461912900000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2966 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2967
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2968 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2969 bool ok = StringToDouble(r, "2.48993781857833000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2970 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2971 EXPECT_NEAR(2.48993781857833000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2972 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2973
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2974 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2975 bool ok = StringToDouble(r, "2.91089514047878000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2976 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2977 EXPECT_NEAR(2.91089514047878000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2978 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2979
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2980 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2981 bool ok = StringToDouble(r, "-2.67713158365996000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2982 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2983 EXPECT_NEAR(-2.67713158365996000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2984 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2985
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2986 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2987 bool ok = StringToDouble(r, "-0.14929866451844800000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2988 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2989 EXPECT_NEAR(-0.14929866451844800000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2990 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2991
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2992 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2993 bool ok = StringToDouble(r, "-3.76110653286820000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2994 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2995 EXPECT_NEAR(-3.76110653286820000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2996 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2997
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2998 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
2999 bool ok = StringToDouble(r, "-0.05937778946509720000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3000 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3001 EXPECT_NEAR(-0.05937778946509720000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3002 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3003
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3004 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3005 bool ok = StringToDouble(r, "1.67737188304973000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3006 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3007 EXPECT_NEAR(1.67737188304973000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3008 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3009
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3010 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3011 bool ok = StringToDouble(r, "-3.58425440578219000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3012 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3013 EXPECT_NEAR(-3.58425440578219000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3014 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3015
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3016 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3017 bool ok = StringToDouble(r, "1.30491550374261000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3018 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3019 EXPECT_NEAR(1.30491550374261000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3020 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3021
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3022 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3023 bool ok = StringToDouble(r, "2.48379945880357000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3024 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3025 EXPECT_NEAR(2.48379945880357000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3026 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3027
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3028 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3029 bool ok = StringToDouble(r, "-0.62987027701035800000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3030 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3031 EXPECT_NEAR(-0.62987027701035800000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3032 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3033
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3034 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3035 bool ok = StringToDouble(r, "-2.97181285150671000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3036 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3037 EXPECT_NEAR(-2.97181285150671000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3038 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3039
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3040 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3041 bool ok = StringToDouble(r, "-0.24881707556359700000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3042 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3043 EXPECT_NEAR(-0.24881707556359700000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3044 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3045
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3046 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3047 bool ok = StringToDouble(r, "-2.83925282156180000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3048 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3049 EXPECT_NEAR(-2.83925282156180000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3050 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3051
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3052 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3053 bool ok = StringToDouble(r, "-2.07567311295324000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3054 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3055 EXPECT_NEAR(-2.07567311295324000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3056 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3057
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3058 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3059 bool ok = StringToDouble(r, "-2.78919598870022000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3060 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3061 EXPECT_NEAR(-2.78919598870022000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3062 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3063
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3064 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3065 bool ok = StringToDouble(r, "4.51240908161798000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3066 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3067 EXPECT_NEAR(4.51240908161798000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3068 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3069
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3070 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3071 bool ok = StringToDouble(r, "2.51275535534832000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3072 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3073 EXPECT_NEAR(2.51275535534832000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3074 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3075
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3076 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3077 bool ok = StringToDouble(r, "1.58920518726789000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3078 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3079 EXPECT_NEAR(1.58920518726789000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3080 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3081
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3082 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3083 bool ok = StringToDouble(r, "3.81944139206950000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3084 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3085 EXPECT_NEAR(3.81944139206950000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3086 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3087
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3088 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3089 bool ok = StringToDouble(r, "-1.20584689863215000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3090 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3091 EXPECT_NEAR(-1.20584689863215000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3092 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3093
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3094 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3095 bool ok = StringToDouble(r, "0.52387820278697400000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3096 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3097 EXPECT_NEAR(0.52387820278697400000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3098 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3099
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3100 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3101 bool ok = StringToDouble(r, "1.41030960929320000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3102 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3103 EXPECT_NEAR(1.41030960929320000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3104 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3105
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3106 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3107 bool ok = StringToDouble(r, "-1.92103214885374000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3108 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3109 EXPECT_NEAR(-1.92103214885374000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3110 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3111
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3112 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3113 bool ok = StringToDouble(r, "-5.24231540245246000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3114 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3115 EXPECT_NEAR(-5.24231540245246000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3116 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3117
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3118 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3119 bool ok = StringToDouble(r, "-0.16908726665941100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3120 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3121 EXPECT_NEAR(-0.16908726665941100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3122 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3123
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3124 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3125 bool ok = StringToDouble(r, "-4.44589887686242000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3126 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3127 EXPECT_NEAR(-4.44589887686242000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3128 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3129
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3130 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3131 bool ok = StringToDouble(r, "-2.49069006371512000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3132 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3133 EXPECT_NEAR(-2.49069006371512000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3134 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3135
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3136 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3137 bool ok = StringToDouble(r, "-0.80650544937931100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3138 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3139 EXPECT_NEAR(-0.80650544937931100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3140 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3141
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3142 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3143 bool ok = StringToDouble(r, "-1.97976397104165000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3144 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3145 EXPECT_NEAR(-1.97976397104165000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3146 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3147
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3148 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3149 bool ok = StringToDouble(r, "4.98766812819005000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3150 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3151 EXPECT_NEAR(4.98766812819005000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3152 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3153
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3154 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3155 bool ok = StringToDouble(r, "-0.72989593663204100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3156 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3157 EXPECT_NEAR(-0.72989593663204100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3158 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3159
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3160 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3161 bool ok = StringToDouble(r, "-1.61947487048298000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3162 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3163 EXPECT_NEAR(-1.61947487048298000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3164 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3165
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3166 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3167 bool ok = StringToDouble(r, "0.14305085135282200000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3168 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3169 EXPECT_NEAR(0.14305085135282200000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3170 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3171
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3172 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3173 bool ok = StringToDouble(r, "-0.19625994631193500000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3174 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3175 EXPECT_NEAR(-0.19625994631193500000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3176 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3177
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3178 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3179 bool ok = StringToDouble(r, "3.37918205114016000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3180 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3181 EXPECT_NEAR(3.37918205114016000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3182 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3183
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3184 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3185 bool ok = StringToDouble(r, "6.59599108171267000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3186 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3187 EXPECT_NEAR(6.59599108171267000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3188 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3189
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3190 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3191 bool ok = StringToDouble(r, "2.96455017519345000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3192 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3193 EXPECT_NEAR(2.96455017519345000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3194 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3195
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3196 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3197 bool ok = StringToDouble(r, "2.54659210340770000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3198 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3199 EXPECT_NEAR(2.54659210340770000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3200 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3201
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3202 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3203 bool ok = StringToDouble(r, "-3.34333955584988000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3204 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3205 EXPECT_NEAR(-3.34333955584988000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3206 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3207
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3208 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3209 bool ok = StringToDouble(r, "-2.97945807230247000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3210 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3211 EXPECT_NEAR(-2.97945807230247000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3212 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3213
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3214 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3215 bool ok = StringToDouble(r, "-1.16309656911088000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3216 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3217 EXPECT_NEAR(-1.16309656911088000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3218 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3219
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3220 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3221 bool ok = StringToDouble(r, "-3.25046325751587000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3222 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3223 EXPECT_NEAR(-3.25046325751587000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3224 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3225
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3226 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3227 bool ok = StringToDouble(r, "-1.95513333613538000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3228 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3229 EXPECT_NEAR(-1.95513333613538000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3230 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3231
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3232 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3233 bool ok = StringToDouble(r, "0.44180657712571200000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3234 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3235 EXPECT_NEAR(0.44180657712571200000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3236 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3237
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3238 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3239 bool ok = StringToDouble(r, "-5.62068238736436000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3240 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3241 EXPECT_NEAR(-5.62068238736436000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3242 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3243
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3244 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3245 bool ok = StringToDouble(r, "-1.06550714914445000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3246 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3247 EXPECT_NEAR(-1.06550714914445000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3248 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3249
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3250 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3251 bool ok = StringToDouble(r, "-1.50821128944561000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3252 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3253 EXPECT_NEAR(-1.50821128944561000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3254 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3255
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3256 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3257 bool ok = StringToDouble(r, "2.15508838007900000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3258 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3259 EXPECT_NEAR(2.15508838007900000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3260 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3261
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3262 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3263 bool ok = StringToDouble(r, "-1.95233817795899000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3264 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3265 EXPECT_NEAR(-1.95233817795899000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3266 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3267
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3268 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3269 bool ok = StringToDouble(r, "-2.51496658163574000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3270 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3271 EXPECT_NEAR(-2.51496658163574000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3272 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3273
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3274 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3275 bool ok = StringToDouble(r, "-0.78333801715048000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3276 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3277 EXPECT_NEAR(-0.78333801715048000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3278 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3279
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3280 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3281 bool ok = StringToDouble(r, "-3.21314186040171000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3282 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3283 EXPECT_NEAR(-3.21314186040171000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3284 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3285
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3286 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3287 bool ok = StringToDouble(r, "0.66527690284710800000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3288 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3289 EXPECT_NEAR(0.66527690284710800000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3290 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3291
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3292 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3293 bool ok = StringToDouble(r, "-3.15441313415350000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3294 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3295 EXPECT_NEAR(-3.15441313415350000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3296 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3297
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3298 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3299 bool ok = StringToDouble(r, "-2.23491685110319000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3300 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3301 EXPECT_NEAR(-2.23491685110319000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3302 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3303
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3304 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3305 bool ok = StringToDouble(r, "-1.72724695951577000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3306 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3307 EXPECT_NEAR(-1.72724695951577000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3308 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3309
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3310 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3311 bool ok = StringToDouble(r, "-0.24050455306641300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3312 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3313 EXPECT_NEAR(-0.24050455306641300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3314 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3315
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3316 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3317 bool ok = StringToDouble(r, "-1.21656863480457000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3318 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3319 EXPECT_NEAR(-1.21656863480457000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3320 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3321
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3322 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3323 bool ok = StringToDouble(r, "-2.26488830552906000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3324 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3325 EXPECT_NEAR(-2.26488830552906000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3326 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3327
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3328 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3329 bool ok = StringToDouble(r, "3.75588617365038000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3330 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3331 EXPECT_NEAR(3.75588617365038000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3332 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3333
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3334 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3335 bool ok = StringToDouble(r, "-0.03323480544193850000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3336 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3337 EXPECT_NEAR(-0.03323480544193850000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3338 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3339
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3340 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3341 bool ok = StringToDouble(r, "-0.09120742547457650000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3342 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3343 EXPECT_NEAR(-0.09120742547457650000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3344 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3345
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3346 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3347 bool ok = StringToDouble(r, "-7.88263056036503000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3348 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3349 EXPECT_NEAR(-7.88263056036503000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3350 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3351
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3352 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3353 bool ok = StringToDouble(r, "-1.43816026309627000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3354 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3355 EXPECT_NEAR(-1.43816026309627000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3356 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3357
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3358 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3359 bool ok = StringToDouble(r, "-7.03193105607121000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3360 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3361 EXPECT_NEAR(-7.03193105607121000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3362 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3363
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3364 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3365 bool ok = StringToDouble(r, "-1.60611554369909000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3366 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3367 EXPECT_NEAR(-1.60611554369909000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3368 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3369
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3370 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3371 bool ok = StringToDouble(r, "-5.51585989717609000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3372 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3373 EXPECT_NEAR(-5.51585989717609000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3374 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3375
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3376 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3377 bool ok = StringToDouble(r, "1.07820571638609000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3378 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3379 EXPECT_NEAR(1.07820571638609000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3380 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3381
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3382 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3383 bool ok = StringToDouble(r, "-2.06101375865811000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3384 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3385 EXPECT_NEAR(-2.06101375865811000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3386 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3387
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3388 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3389 bool ok = StringToDouble(r, "-2.20736962161768000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3390 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3391 EXPECT_NEAR(-2.20736962161768000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3392 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3393
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3394 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3395 bool ok = StringToDouble(r, "1.90243061828996000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3396 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3397 EXPECT_NEAR(1.90243061828996000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3398 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3399
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3400 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3401 bool ok = StringToDouble(r, "-2.85299495975262000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3402 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3403 EXPECT_NEAR(-2.85299495975262000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3404 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3405
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3406 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3407 bool ok = StringToDouble(r, "2.12934888152265000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3408 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3409 EXPECT_NEAR(2.12934888152265000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3410 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3411
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3412 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3413 bool ok = StringToDouble(r, "-2.67072919212958000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3414 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3415 EXPECT_NEAR(-2.67072919212958000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3416 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3417
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3418 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3419 bool ok = StringToDouble(r, "-0.83114509924264900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3420 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3421 EXPECT_NEAR(-0.83114509924264900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3422 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3423
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3424 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3425 bool ok = StringToDouble(r, "5.30250616100438000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3426 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3427 EXPECT_NEAR(5.30250616100438000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3428 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3429
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3430 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3431 bool ok = StringToDouble(r, "1.12093048302870000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3432 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3433 EXPECT_NEAR(1.12093048302870000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3434 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3435
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3436 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3437 bool ok = StringToDouble(r, "1.05552960660102000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3438 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3439 EXPECT_NEAR(1.05552960660102000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3440 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3441
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3442 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3443 bool ok = StringToDouble(r, "1.49292325032676000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3444 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3445 EXPECT_NEAR(1.49292325032676000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3446 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3447
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3448 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3449 bool ok = StringToDouble(r, "-1.17400757029104000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3450 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3451 EXPECT_NEAR(-1.17400757029104000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3452 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3453
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3454 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3455 bool ok = StringToDouble(r, "-2.14267109660887000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3456 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3457 EXPECT_NEAR(-2.14267109660887000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3458 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3459
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3460 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3461 bool ok = StringToDouble(r, "-1.10546669054034000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3462 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3463 EXPECT_NEAR(-1.10546669054034000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3464 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3465
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3466 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3467 bool ok = StringToDouble(r, "-0.21371952871041700000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3468 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3469 EXPECT_NEAR(-0.21371952871041700000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3470 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3471
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3472 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3473 bool ok = StringToDouble(r, "4.78156583044177000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3474 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3475 EXPECT_NEAR(4.78156583044177000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3476 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3477
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3478 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3479 bool ok = StringToDouble(r, "-1.50472792044367000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3480 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3481 EXPECT_NEAR(-1.50472792044367000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3482 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3483
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3484 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3485 bool ok = StringToDouble(r, "-0.12605755507866600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3486 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3487 EXPECT_NEAR(-0.12605755507866600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3488 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3489
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3490 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3491 bool ok = StringToDouble(r, "1.70371185139311000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3492 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3493 EXPECT_NEAR(1.70371185139311000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3494 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3495
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3496 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3497 bool ok = StringToDouble(r, "-3.10053982101354000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3498 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3499 EXPECT_NEAR(-3.10053982101354000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3500 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3501
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3502 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3503 bool ok = StringToDouble(r, "-1.83624586947925000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3504 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3505 EXPECT_NEAR(-1.83624586947925000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3506 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3507
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3508 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3509 bool ok = StringToDouble(r, "-4.05046060224221000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3510 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3511 EXPECT_NEAR(-4.05046060224221000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3512 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3513
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3514 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3515 bool ok = StringToDouble(r, "0.28157147555257100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3516 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3517 EXPECT_NEAR(0.28157147555257100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3518 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3519
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3520 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3521 bool ok = StringToDouble(r, "1.59637285322805000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3522 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3523 EXPECT_NEAR(1.59637285322805000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3524 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3525
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3526 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3527 bool ok = StringToDouble(r, "-0.75470175557419100000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3528 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3529 EXPECT_NEAR(-0.75470175557419100000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3530 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3531
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3532 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3533 bool ok = StringToDouble(r, "-1.70838399472621000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3534 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3535 EXPECT_NEAR(-1.70838399472621000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3536 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3537
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3538 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3539 bool ok = StringToDouble(r, "2.45654131621183000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3540 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3541 EXPECT_NEAR(2.45654131621183000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3542 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3543
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3544 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3545 bool ok = StringToDouble(r, "2.28443945581399000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3546 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3547 EXPECT_NEAR(2.28443945581399000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3548 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3549
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3550 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3551 bool ok = StringToDouble(r, "1.68823597183684000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3552 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3553 EXPECT_NEAR(1.68823597183684000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3554 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3555
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3556 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3557 bool ok = StringToDouble(r, "1.29650435341174000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3558 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3559 EXPECT_NEAR(1.29650435341174000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3560 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3561
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3562 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3563 bool ok = StringToDouble(r, "1.90134290476188000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3564 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3565 EXPECT_NEAR(1.90134290476188000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3566 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3567
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3568 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3569 bool ok = StringToDouble(r, "-1.18487205108194000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3570 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3571 EXPECT_NEAR(-1.18487205108194000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3572 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3573
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3574 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3575 bool ok = StringToDouble(r, "-0.14778330708372000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3576 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3577 EXPECT_NEAR(-0.14778330708372000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3578 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3579
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3580 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3581 bool ok = StringToDouble(r, "-3.98574838531856000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3582 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3583 EXPECT_NEAR(-3.98574838531856000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3584 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3585
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3586 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3587 bool ok = StringToDouble(r, "-2.38116626593387000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3588 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3589 EXPECT_NEAR(-2.38116626593387000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3590 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3591
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3592 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3593 bool ok = StringToDouble(r, "0.18109367323846900000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3594 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3595 EXPECT_NEAR(0.18109367323846900000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3596 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3597
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3598 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3599 bool ok = StringToDouble(r, "-2.54919024558896000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3600 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3601 EXPECT_NEAR(-2.54919024558896000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3602 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3603
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3604 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3605 bool ok = StringToDouble(r, "-3.01819062231017000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3606 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3607 EXPECT_NEAR(-3.01819062231017000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3608 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3609
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3610 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3611 bool ok = StringToDouble(r, "2.86141885135950000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3612 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3613 EXPECT_NEAR(2.86141885135950000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3614 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3615
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3616 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3617 bool ok = StringToDouble(r, "0.31984756442573800000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3618 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3619 EXPECT_NEAR(0.31984756442573800000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3620 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3621
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3622 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3623 bool ok = StringToDouble(r, "-2.35256585949514000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3624 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3625 EXPECT_NEAR(-2.35256585949514000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3626 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3627
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3628 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3629 bool ok = StringToDouble(r, "-6.04254591090669000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3630 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3631 EXPECT_NEAR(-6.04254591090669000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3632 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3633
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3634 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3635 bool ok = StringToDouble(r, "-0.31151799331342300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3636 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3637 EXPECT_NEAR(-0.31151799331342300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3638 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3639
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3640 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3641 bool ok = StringToDouble(r, "-2.77556498660193000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3642 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3643 EXPECT_NEAR(-2.77556498660193000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3644 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3645
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3646 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3647 bool ok = StringToDouble(r, "5.90371566906766000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3648 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3649 EXPECT_NEAR(5.90371566906766000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3650 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3651
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3652 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3653 bool ok = StringToDouble(r, "-1.29825016398122000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3654 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3655 EXPECT_NEAR(-1.29825016398122000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3656 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3657
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3658 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3659 bool ok = StringToDouble(r, "-1.01456323654512000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3660 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3661 EXPECT_NEAR(-1.01456323654512000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3662 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3663
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3664 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3665 bool ok = StringToDouble(r, "-6.19305288625244000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3666 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3667 EXPECT_NEAR(-6.19305288625244000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3668 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3669
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3670 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3671 bool ok = StringToDouble(r, "0.99509367627092600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3672 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3673 EXPECT_NEAR(0.99509367627092600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3674 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3675
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3676 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3677 bool ok = StringToDouble(r, "-0.08519786419394440000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3678 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3679 EXPECT_NEAR(-0.08519786419394440000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3680 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3681
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3682 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3683 bool ok = StringToDouble(r, "2.88317752752055000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3684 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3685 EXPECT_NEAR(2.88317752752055000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3686 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3687
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3688 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3689 bool ok = StringToDouble(r, "1.69592260047492000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3690 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3691 EXPECT_NEAR(1.69592260047492000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3692 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3693
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3694 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3695 bool ok = StringToDouble(r, "-4.66260089028084000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3696 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3697 EXPECT_NEAR(-4.66260089028084000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3698 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3699
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3700 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3701 bool ok = StringToDouble(r, "-1.12882625389413000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3702 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3703 EXPECT_NEAR(-1.12882625389413000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3704 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3705
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3706 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3707 bool ok = StringToDouble(r, "2.79536921500302000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3708 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3709 EXPECT_NEAR(2.79536921500302000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3710 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3711
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3712 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3713 bool ok = StringToDouble(r, "-4.51399167357593000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3714 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3715 EXPECT_NEAR(-4.51399167357593000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3716 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3717
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3718 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3719 bool ok = StringToDouble(r, "-0.75817764527332300000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3720 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3721 EXPECT_NEAR(-0.75817764527332300000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3722 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3723
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3724 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3725 bool ok = StringToDouble(r, "-2.12821371262498000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3726 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3727 EXPECT_NEAR(-2.12821371262498000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3728 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3729
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3730 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3731 bool ok = StringToDouble(r, "-1.08153732327358000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3732 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3733 EXPECT_NEAR(-1.08153732327358000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3734 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3735
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3736 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3737 bool ok = StringToDouble(r, "0.71608571781169600000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3738 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3739 EXPECT_NEAR(0.71608571781169600000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3740 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3741
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3742 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3743 bool ok = StringToDouble(r, "2.42004689052701000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3744 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3745 EXPECT_NEAR(2.42004689052701000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3746 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3747
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3748 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3749 bool ok = StringToDouble(r, "2.84542164846610000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3750 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3751 EXPECT_NEAR(2.84542164846610000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3752 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3753
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3754 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3755 bool ok = StringToDouble(r, "2.97822513569917000000");
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3756 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3757 EXPECT_NEAR(2.97822513569917000000, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3758 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3759 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3760
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3761 TEST(GenericToolbox, TestStringToDoubleHard)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3762 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3763 using OrthancStone::GenericToolbox::StringToDouble;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3764 const double TOLERANCE = 0.00000000000001;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3765
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3766 size_t i = 0;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3767 const size_t COUNT = 125;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3768 //const double FACTOR = 1.000000000171271211;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3769 const double FACTOR = 1.71271211;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3770 for (double b = DBL_EPSILON; b < DBL_MAX && i < COUNT; ++i, b *= FACTOR)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3771 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3772 char txt[1024];
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3773 #if defined(_MSC_VER)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3774 sprintf_s(txt, "%.17f", b);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3775 #else
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3776 snprintf(txt, sizeof(txt) - 1, "%.17f", b);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3777 #endif
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3778 double r = 0.0;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3779 bool ok = StringToDouble(r, txt);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3780
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3781 #if 0
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3782 if (ok)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3783 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3784 printf("OK for txt = \"%s\" and r = %.17f\n", txt, r);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3785 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3786 else
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3787 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3788 printf("Not ok for txt = \"%s\" and r = %.17f\n", txt, r);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3789 ok = StringToDouble(r, txt);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3790 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3791 #endif
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3792
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3793 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3794
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3795 #if 0
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3796 if (fabs(b - r) > TOLERANCE)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3797 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3798 printf("fabs(b (%.17f) - r (%.17f)) ((%.17f)) > TOLERANCE (%.17f)\n", b, r, fabs(b-r), TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3799 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3800 #endif
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3801 EXPECT_NEAR(b, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3802 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3803 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3804
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3805 TEST(GenericToolbox, TestStringToDoubleHardNeg)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3806 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3807 using OrthancStone::GenericToolbox::StringToDouble;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3808 const double TOLERANCE = 0.00000000000001;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3809
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3810 size_t i = 0;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3811 const size_t COUNT = 125;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3812 //const double FACTOR = 1.000000000171271211;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3813 const double FACTOR = 1.71271211;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3814 for (double b = -1.0*DBL_EPSILON; b < DBL_MAX && i < COUNT; ++i, b *= FACTOR)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3815 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3816 char txt[1024];
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3817 #if defined(_MSC_VER)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3818 sprintf_s(txt, "%.17f", b);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3819 #else
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3820 snprintf(txt, sizeof(txt) - 1, "%.17f", b);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3821 #endif
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3822 double r = 0.0;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3823 bool ok = StringToDouble(r, txt);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3824
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3825 #if 0
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3826 if (ok)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3827 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3828 printf("OK for txt = \"%s\" and r = %.17f\n", txt, r);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3829 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3830 else
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3831 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3832 printf("Not ok for txt = \"%s\" and r = %.17f\n", txt, r);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3833 ok = StringToDouble(r, txt);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3834 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3835 #endif
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3836
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3837 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3838
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3839 #if 0
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3840 if (fabs(b - r) > TOLERANCE)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3841 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3842 printf("fabs(b (%.17f) - r (%.17f)) ((%.17f)) > TOLERANCE (%.17f)\n", b, r, fabs(b - r), TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3843 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3844 #endif
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3845 EXPECT_NEAR(b, r, TOLERANCE);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3846 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3847 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
3848
1403
5630c2fb7b0f cleanup + reactivate UnitTests
Alain Mazy <alain@mazy.be>
parents: 1331
diff changeset
3849 static const size_t NUM_TIMINGS_CONVS = 1; // set to 2000 if you want to measure perfs;
1181
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3850
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3851
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3852 //4444444444444444$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3853
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3854 TEST(GenericToolbox, TestStringToDoubleHardNeg_lexical_cast_vs_StringToDouble)
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3855 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3856 using OrthancStone::GenericToolbox::StringToDouble;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3857 const double TOLERANCE = 0.00000000000001;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3858
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3859 double total_us_StringToDouble = 0.0;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3860 double total_us_lexical_cast = 0.0;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3861 int64_t numConversions = 0;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3862
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3863 size_t i = 0;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3864 const size_t COUNT = 125;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3865 //const double FACTOR = 1.000000000171271211;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3866 const double FACTOR = 1.71271211;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3867 for (double b = -1.0 * DBL_EPSILON; b < DBL_MAX && i < COUNT; ++i, b *= FACTOR)
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3868 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3869 char txt[1024];
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3870 #if defined(_MSC_VER)
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3871 sprintf_s(txt, "%.17f", b);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3872 #else
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3873 snprintf(txt, sizeof(txt) - 1, "%.17f", b);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3874 #endif
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3875
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3876
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3877 double r = 0.0;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3878
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3879 bool ok = true;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3880
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3881 {
1189
09fc591d8ff9 replacing boost::chrono by boost::posix_time for older compilers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1183
diff changeset
3882 boost::posix_time::ptime start = boost::posix_time::microsec_clock::local_time();
1181
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3883 for (size_t i = 0; i < NUM_TIMINGS_CONVS; ++i)
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3884 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3885 ok = StringToDouble(r, txt);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3886 }
1189
09fc591d8ff9 replacing boost::chrono by boost::posix_time for older compilers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1183
diff changeset
3887 boost::posix_time::ptime end = boost::posix_time::microsec_clock::local_time();
09fc591d8ff9 replacing boost::chrono by boost::posix_time for older compilers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1183
diff changeset
3888 total_us_StringToDouble += (end - start).total_microseconds();
1181
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3889 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3890
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3891 {
1189
09fc591d8ff9 replacing boost::chrono by boost::posix_time for older compilers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1183
diff changeset
3892 boost::posix_time::ptime start = boost::posix_time::microsec_clock::local_time();
1181
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3893 for (size_t i = 0; i < NUM_TIMINGS_CONVS; ++i)
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3894 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3895 try
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3896 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3897 r = boost::lexical_cast<double>(txt);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3898 ok = true;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3899 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3900 catch (boost::bad_lexical_cast& )
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3901 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3902 ok = false;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3903 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3904 }
1189
09fc591d8ff9 replacing boost::chrono by boost::posix_time for older compilers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1183
diff changeset
3905 boost::posix_time::ptime end = boost::posix_time::microsec_clock::local_time();
09fc591d8ff9 replacing boost::chrono by boost::posix_time for older compilers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1183
diff changeset
3906 total_us_lexical_cast += (end - start).total_microseconds();
1181
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3907 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3908 numConversions += NUM_TIMINGS_CONVS;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3909
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3910 #if 0
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3911 if (ok)
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3912 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3913 printf("OK for txt = \"%s\" and r = %.17f\n", txt, r);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3914 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3915 else
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3916 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3917 printf("Not ok for txt = \"%s\" and r = %.17f\n", txt, r);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3918 ok = StringToDouble(r, txt);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3919 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3920 #endif
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3921
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3922 EXPECT_TRUE(ok);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3923
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3924 #if 0
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3925 if (fabs(b - r) > TOLERANCE)
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3926 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3927 printf("fabs(b (%.17f) - r (%.17f)) ((%.17f)) > TOLERANCE (%.17f)\n", b, r, fabs(b - r), TOLERANCE);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3928 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3929 #endif
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3930 EXPECT_NEAR(b, r, TOLERANCE);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3931 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3932 std::cout << "Total time (us) for " << numConversions
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3933 << " conversions using StringToDouble (with NO scientific notation) = "
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3934 << static_cast<int64_t>(total_us_StringToDouble) << std::endl;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3935
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3936 std::cout << "Time per conversion using StringToDouble (ns) = "
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3937 << (int64_t)( (total_us_StringToDouble * 1000) /((double)numConversions)) << std::endl;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3938
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3939 std::cout << "Total time (us) for " << numConversions
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3940 << " conversions using boost::lexical_cast (with NO scientific notation) = "
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3941 << static_cast<int64_t>(total_us_lexical_cast) << std::endl;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3942
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3943 std::cout << "Time per conversion using boost::lexical_cast (ns) = "
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3944 << (int64_t)( (total_us_lexical_cast * 1000) / ((double)numConversions)) << std::endl;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3945
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3946 std::cout << "StringToDouble is " << (int)((total_us_lexical_cast / total_us_StringToDouble) + 0.5) << " times faster than boost::lexical_cast" << std::endl;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3947
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3948 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3949 //4444444444444444$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
3950
1166
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3951
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3952 TEST(GenericToolbox, TestStringToDoubleHardScientific)
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3953 {
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3954 using OrthancStone::GenericToolbox::StringToDouble;
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3955 const double TOLERANCE = 0.00000000000001;
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3956
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3957 size_t i = 0;
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3958 const size_t COUNT = 125;
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3959 //const double FACTOR = 1.000000000171271211;
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3960 const double FACTOR = 1.71271211;
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3961 for (double b = DBL_EPSILON; b < DBL_MAX && i < COUNT; ++i, b *= FACTOR)
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3962 {
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3963
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3964 // the tolerance must be adapted depending on the exponent
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3965 double exponent = (b == 0) ? 0 : 1.0 + std::floor(std::log10(std::fabs(b)));
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3966 double actualTolerance = TOLERANCE * pow(10.0, exponent);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3967
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3968 char txt[1024];
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3969 #if defined(_MSC_VER)
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3970 sprintf_s(txt, "%.17e", b);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3971 #else
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3972 snprintf(txt, sizeof(txt) - 1, "%.17e", b);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3973 #endif
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3974 double r = 0.0;
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3975 bool ok = StringToDouble(r, txt);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3976
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3977 #if 0
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3978 if (ok)
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3979 {
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3980 printf("OK for txt = \"%s\" and r = %.17e\n", txt, r);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3981 }
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3982 else
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3983 {
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3984 printf("Not ok for txt = \"%s\" and r = %.17e\n", txt, r);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3985 ok = StringToDouble(r, txt);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3986 }
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3987 #endif
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3988
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3989 EXPECT_TRUE(ok);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3990
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3991 #if 0
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3992 if (fabs(b - r) > actualTolerance)
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3993 {
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3994 printf("NOK fabs(b (%.17f) - r (%.17f)) ((%.17f)) > actualTolerance (%.17f)\n", b, r, fabs(b - r), actualTolerance);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3995 printf("NOK fabs(b (%.17e) - r (%.17e)) ((%.17e)) > actualTolerance (%.17e)\n", b, r, fabs(b - r), actualTolerance);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3996 ok = StringToDouble(r, txt);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3997 }
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3998 else
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
3999 {
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4000 printf("OK fabs(b (%.17f) - r (%.17f)) ((%.17f)) <= actualTolerance (%.17f)\n", b, r, fabs(b - r), actualTolerance);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4001 printf("OK fabs(b (%.17e) - r (%.17e)) ((%.17e)) <= actualTolerance (%.17e)\n", b, r, fabs(b - r), actualTolerance);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4002 }
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4003 #endif
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4004 EXPECT_NEAR(b, r, actualTolerance);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4005 }
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4006 }
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4007
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4008 TEST(GenericToolbox, TestStringToDoubleHardNegScientific)
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4009 {
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4010 using OrthancStone::GenericToolbox::StringToDouble;
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4011 const double TOLERANCE = 0.00000000000001;
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4012
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4013 size_t i = 0;
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4014 const size_t COUNT = 125;
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4015 //const double FACTOR = 1.000000000171271211;
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4016 const double FACTOR = 1.71271211;
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4017 for (double b = -1.0 * DBL_EPSILON; b < DBL_MAX && i < COUNT; ++i, b *= FACTOR)
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4018 {
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4019 // the tolerance must be adapted depending on the exponent
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4020 double exponent = (b == 0) ? 0 : 1.0 + std::floor(std::log10(std::fabs(b)));
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4021 double actualTolerance = TOLERANCE * pow(10.0, exponent);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4022
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4023 char txt[1024];
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4024 #if defined(_MSC_VER)
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4025 sprintf_s(txt, "%.17e", b);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4026 #else
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4027 snprintf(txt, sizeof(txt) - 1, "%.17e", b);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4028 #endif
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4029 double r = 0.0;
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4030 bool ok = StringToDouble(r, txt);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4031
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4032 #if 0
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4033 if (ok)
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4034 {
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4035 printf("OK for txt = \"%s\" and r = %.17e\n", txt, r);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4036 }
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4037 else
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4038 {
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4039 printf("Not ok for txt = \"%s\" and r = %.17e\n", txt, r);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4040 ok = StringToDouble(r, txt);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4041 }
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4042 #endif
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4043
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4044 EXPECT_TRUE(ok);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4045
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4046 #if 0
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4047 if (fabs(b - r) > actualTolerance)
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4048 {
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4049 printf("NOK fabs(b (%.17f) - r (%.17f)) ((%.17f)) > actualTolerance (%.17f)\n", b, r, fabs(b - r), actualTolerance);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4050 printf("NOK fabs(b (%.17e) - r (%.17e)) ((%.17e)) > actualTolerance (%.17e)\n", b, r, fabs(b - r), actualTolerance);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4051 ok = StringToDouble(r, txt);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4052 }
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4053 else
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4054 {
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4055 printf("OK fabs(b (%.17f) - r (%.17f)) ((%.17f)) <= actualTolerance (%.17f)\n", b, r, fabs(b - r), actualTolerance);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4056 printf("OK fabs(b (%.17e) - r (%.17e)) ((%.17e)) <= actualTolerance (%.17e)\n", b, r, fabs(b - r), actualTolerance);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4057 }
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4058 #endif
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4059 EXPECT_NEAR(b, r, actualTolerance);
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4060 }
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4061 }
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4062
f68da12e852b Added scientific notation support to StringToDouble
Benjamin Golinvaux <bgo@osimis.io>
parents: 1101
diff changeset
4063
1181
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4064 TEST(GenericToolbox, TestStringToDoubleHardNegScientific_lexical_cast_vs_StringToDouble)
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4065 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4066 using OrthancStone::GenericToolbox::StringToDouble;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4067 const double TOLERANCE = 0.00000000000001;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4068
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4069 size_t i = 0;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4070 const size_t COUNT = 125;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4071 //const double FACTOR = 1.000000000171271211;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4072 const double FACTOR = 1.71271211;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4073
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4074 double total_us_StringToDouble = 0.0;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4075 double total_us_lexical_cast = 0.0;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4076 int64_t numConversions = 0;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4077
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4078 for (double b = -1.0 * DBL_EPSILON; b < DBL_MAX && i < COUNT; ++i, b *= FACTOR)
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4079 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4080 // the tolerance must be adapted depending on the exponent
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4081 double exponent = (b == 0) ? 0 : 1.0 + std::floor(std::log10(std::fabs(b)));
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4082 double actualTolerance = TOLERANCE * pow(10.0, exponent);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4083
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4084 char txt[1024];
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4085 #if defined(_MSC_VER)
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4086 sprintf_s(txt, "%.17e", b);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4087 #else
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4088 snprintf(txt, sizeof(txt) - 1, "%.17e", b);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4089 #endif
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4090 double r = 0.0;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4091
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4092 bool ok = true;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4093
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4094 {
1189
09fc591d8ff9 replacing boost::chrono by boost::posix_time for older compilers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1183
diff changeset
4095 boost::posix_time::ptime start = boost::posix_time::microsec_clock::local_time();
1181
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4096 for (size_t i = 0; i < NUM_TIMINGS_CONVS; ++i)
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4097 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4098 ok = StringToDouble(r, txt);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4099 }
1189
09fc591d8ff9 replacing boost::chrono by boost::posix_time for older compilers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1183
diff changeset
4100 boost::posix_time::ptime end = boost::posix_time::microsec_clock::local_time();
09fc591d8ff9 replacing boost::chrono by boost::posix_time for older compilers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1183
diff changeset
4101 total_us_StringToDouble += (end - start).total_microseconds();
1181
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4102 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4103
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4104 {
1189
09fc591d8ff9 replacing boost::chrono by boost::posix_time for older compilers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1183
diff changeset
4105 boost::posix_time::ptime start = boost::posix_time::microsec_clock::local_time();
1181
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4106 for (size_t i = 0; i < NUM_TIMINGS_CONVS; ++i)
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4107 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4108 try
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4109 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4110 r = boost::lexical_cast<double>(txt);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4111 ok = true;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4112 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4113 catch (boost::bad_lexical_cast& )
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4114 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4115 ok = false;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4116 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4117 }
1189
09fc591d8ff9 replacing boost::chrono by boost::posix_time for older compilers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1183
diff changeset
4118 boost::posix_time::ptime end = boost::posix_time::microsec_clock::local_time();
09fc591d8ff9 replacing boost::chrono by boost::posix_time for older compilers
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1183
diff changeset
4119 total_us_lexical_cast += (end - start).total_microseconds();
1181
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4120 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4121 numConversions += NUM_TIMINGS_CONVS;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4122
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4123 #if 0
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4124 if (ok)
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4125 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4126 printf("OK for txt = \"%s\" and r = %.17e\n", txt, r);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4127 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4128 else
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4129 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4130 printf("Not ok for txt = \"%s\" and r = %.17e\n", txt, r);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4131 ok = StringToDouble(r, txt);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4132 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4133 #endif
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4134
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4135 EXPECT_TRUE(ok);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4136
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4137 #if 0
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4138 if (fabs(b - r) > actualTolerance)
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4139 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4140 printf("NOK fabs(b (%.17f) - r (%.17f)) ((%.17f)) > actualTolerance (%.17f)\n", b, r, fabs(b - r), actualTolerance);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4141 printf("NOK fabs(b (%.17e) - r (%.17e)) ((%.17e)) > actualTolerance (%.17e)\n", b, r, fabs(b - r), actualTolerance);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4142 ok = StringToDouble(r, txt);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4143 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4144 else
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4145 {
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4146 printf("OK fabs(b (%.17f) - r (%.17f)) ((%.17f)) <= actualTolerance (%.17f)\n", b, r, fabs(b - r), actualTolerance);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4147 printf("OK fabs(b (%.17e) - r (%.17e)) ((%.17e)) <= actualTolerance (%.17e)\n", b, r, fabs(b - r), actualTolerance);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4148 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4149 #endif
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4150 EXPECT_NEAR(b, r, actualTolerance);
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4151 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4152
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4153 std::cout << "Total time (us) for " << numConversions
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4154 << " conversions using StringToDouble (WITH scientific notation) = "
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4155 << static_cast<int64_t>(total_us_StringToDouble) << std::endl;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4156
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4157 std::cout << "Time per conversion using StringToDouble (ns) = "
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4158 << (int64_t)( (total_us_StringToDouble*1000) / ((double)numConversions)) << std::endl;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4159
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4160 std::cout << "Total time (us) for " << numConversions
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4161 << " conversions using boost::lexical_cast (WITH scientific notation) = "
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4162 << static_cast<int64_t>(total_us_lexical_cast) << std::endl;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4163
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4164 std::cout << "Time per conversion using boost::lexical_cast (ns) = "
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4165 << (int64_t)( (total_us_lexical_cast * 1000) / ((double)numConversions)) << std::endl;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4166
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4167 std::cout << "StringToDouble is " << (int)((total_us_lexical_cast / total_us_StringToDouble)+ 0.5) << " times faster than boost::lexical_cast" << std::endl;
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4168 }
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4169
bf08d28bc652 Added timing tests
Benjamin Golinvaux <bgo@osimis.io>
parents: 1166
diff changeset
4170
1101
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4171 TEST(GenericToolbox, TestStringToIntegerHard)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4172 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4173 using OrthancStone::GenericToolbox::StringToInteger;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4174
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4175 size_t i = 0;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4176 const size_t COUNT = 125;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4177 //const double FACTOR = 1.000000000171271211;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4178 const double FACTOR = 1.71271211;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4179 for (double b = DBL_EPSILON; b < DBL_MAX && i < COUNT; ++i, b *= FACTOR)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4180 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4181 int64_t bi = static_cast<int64_t>(b);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4182 char txt[1024];
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4183 #if defined(_MSC_VER)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4184 # if (_MSC_VER > 1800)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4185 sprintf_s(txt, "%lld", bi);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4186 # else
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4187 sprintf_s(txt, "%I64d", bi);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4188 # endif
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4189 #else
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4190 snprintf(txt, sizeof(txt) - 1, "%ld", bi);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4191 #endif
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4192 int64_t r = 0;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4193 bool ok = StringToInteger<int64_t>(r, txt);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4194 EXPECT_TRUE(ok);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4195 EXPECT_EQ(bi, r);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4196 #if 0
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4197 if (ok)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4198 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4199 printf("OK for b = %.17f bi = %lld txt = \"%s\" and r = %lld\n", b, bi, txt, r);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4200 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4201 else
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4202 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4203 printf("NOK for b = %.17f bi = %lld txt = \"%s\" and r = %lld\n", b, bi, txt,r);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4204 ok = StringToInteger<int64_t>(r, txt);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4205 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4206 #endif
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4207 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4208 }
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4209
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4210
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4211 TEST(GenericToolbox, TestGetRgbValuesFromString)
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4212 {
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4213 using OrthancStone::GenericToolbox::GetRgbValuesFromString;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4214
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4215 uint8_t red = 0;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4216 uint8_t green = 0;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4217 uint8_t blue = 0;
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4218
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4219 EXPECT_FALSE(GetRgbValuesFromString(red, green, blue, ""));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4220 EXPECT_FALSE(GetRgbValuesFromString(red, green, blue, " "));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4221 EXPECT_FALSE(GetRgbValuesFromString(red, green, blue, "rgb() "));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4222 EXPECT_FALSE(GetRgbValuesFromString(red, green, blue, "rgb(12,30 2563) "));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4223 EXPECT_FALSE(GetRgbValuesFromString(red, green, blue, "rgb(12,30 2563,45) "));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4224 EXPECT_FALSE(GetRgbValuesFromString(red, green, blue, "rgb(12,303.23,45)"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4225 EXPECT_FALSE(GetRgbValuesFromString(red, green, blue, "rgb(12,303,45 "));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4226
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4227 ASSERT_TRUE(GetRgbValuesFromString(red, green, blue, "rgb(12,255,45)"));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4228 EXPECT_EQ(12, red);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4229 EXPECT_EQ(255, green);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4230 EXPECT_EQ(45, blue);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4231
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4232 ASSERT_TRUE(GetRgbValuesFromString(red, green, blue, " rgb ( 72 , 257 , 47 ) "));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4233 EXPECT_EQ(72, red);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4234 EXPECT_EQ(1, green); //rollover 255 --> 255, 256 --> 0, 257 --> 1,...
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4235 EXPECT_EQ(47, blue);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4236
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4237 ASSERT_TRUE(GetRgbValuesFromString(red, green, blue, " rgb ( 72 , 247 , 47 ) "));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4238 EXPECT_EQ(72, red);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4239 EXPECT_EQ(247, green);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4240 EXPECT_EQ(47, blue);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4241
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4242 ASSERT_TRUE(GetRgbValuesFromString(red, green, blue, " rgb ( 000, 0, 000) "));
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4243 EXPECT_EQ(0, red);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4244 EXPECT_EQ(0, green);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4245 EXPECT_EQ(0, blue);
141593f1aa88 fix build on ubuntu
Sebastien Jodogne <s.jodogne@gmail.com>
parents: 1080
diff changeset
4246 }
1328
fd616c4a5904 Added mechanism to prevent callbacks from being sent on dead WebAssemblyViewport objects
Benjamin Golinvaux <bgo@osimis.io>
parents: 1279
diff changeset
4247
1331
ab81ee8fce1f - Viewport is not passed and stored as a shared_ptr instead
Benjamin Golinvaux <bgo@osimis.io>
parents: 1329
diff changeset
4248
ab81ee8fce1f - Viewport is not passed and stored as a shared_ptr instead
Benjamin Golinvaux <bgo@osimis.io>
parents: 1329
diff changeset
4249
ab81ee8fce1f - Viewport is not passed and stored as a shared_ptr instead
Benjamin Golinvaux <bgo@osimis.io>
parents: 1329
diff changeset
4250
ab81ee8fce1f - Viewport is not passed and stored as a shared_ptr instead
Benjamin Golinvaux <bgo@osimis.io>
parents: 1329
diff changeset
4251
ab81ee8fce1f - Viewport is not passed and stored as a shared_ptr instead
Benjamin Golinvaux <bgo@osimis.io>
parents: 1329
diff changeset
4252
ab81ee8fce1f - Viewport is not passed and stored as a shared_ptr instead
Benjamin Golinvaux <bgo@osimis.io>
parents: 1329
diff changeset
4253