Commit f6f345a
BUG: Remove MakePoint, MakeVector and other Make calls from GoogleTest
The MakePoint and MakeVector calls in itkGoogleTest always return a Point or
Vector whose ValueType is 64-bit `double`. This causes test failures when
SpacePrecisionType is a 32-bit `float` (when `ITK_USE_FLOAT_SPACE_PRECISION`
is enabled). As was observed by Dženan Zukić.
This commit removed these calls, as well as calls to MakeIndex and MakeSize,
because all of these functions have been moved from `itk::GTest` to the ITK Core
already in July 2021, so they do not need to be tested by itkGoogleTest anymore.
Follow-up to pull request InsightSoftwareConsortium#2644
commit 558ea67
"STYLE: Remove `Make` functions from itk::GTest::TypedefsAndConstructors"1 parent 4927790 commit f6f345a
1 file changed
+8
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | 42 | | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
47 | | - | |
| 46 | + | |
48 | 47 | | |
49 | 48 | | |
50 | | - | |
51 | 49 | | |
52 | 50 | | |
53 | | - | |
| 51 | + | |
54 | 52 | | |
55 | 53 | | |
56 | | - | |
57 | 54 | | |
58 | 55 | | |
59 | | - | |
| 56 | + | |
60 | 57 | | |
61 | 58 | | |
62 | | - | |
63 | 59 | | |
64 | 60 | | |
65 | 61 | | |
| |||
73 | 69 | | |
74 | 70 | | |
75 | 71 | | |
76 | | - | |
| 72 | + | |
77 | 73 | | |
78 | 74 | | |
79 | | - | |
80 | 75 | | |
81 | 76 | | |
82 | 77 | | |
83 | 78 | | |
84 | 79 | | |
85 | | - | |
| 80 | + | |
86 | 81 | | |
87 | 82 | | |
88 | | - | |
89 | 83 | | |
90 | 84 | | |
91 | | - | |
| 85 | + | |
92 | 86 | | |
93 | 87 | | |
94 | 88 | | |
95 | 89 | | |
96 | | - | |
| 90 | + | |
97 | 91 | | |
98 | | - | |
99 | 92 | | |
0 commit comments