Skip to content
Snippets Groups Projects
Commit ec59d906 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

[T/GL] Reenable tests disabled for VisualStudio.

parent 442c0a78
No related branches found
No related tags found
No related merge requests found
...@@ -50,13 +50,6 @@ public: ...@@ -50,13 +50,6 @@ public:
ac::gtest_reporter gtest_reporter; ac::gtest_reporter gtest_reporter;
}; };
#if !defined(_MSC_VER) || (_MSC_VER >= 2000)
// Compilers of MVS below 2015 do not support unrestricted unions. The
// unrestricted union is used by autocheck to handle test data. The autocheck
// workaround for MVS compilers (below version 2015) contains a bug and in the
// consequence the tests crashes. For this reason the tests are disabled under
// this environments.
// Test the intersection of intersecting line segments. Line segments are chords // Test the intersection of intersecting line segments. Line segments are chords
// of the same circle that both contains the center of the circle. As a // of the same circle that both contains the center of the circle. As a
// consequence the center of the circle is the intersection point. // consequence the center of the circle is the intersection point.
...@@ -139,5 +132,3 @@ TEST_F(LineSegmentIntersect2dTest, ParallelIntersectingSegmentOrientation) ...@@ -139,5 +132,3 @@ TEST_F(LineSegmentIntersect2dTest, ParallelIntersectingSegmentOrientation)
ac::make_arbitrary(pair_segment_generator2), ac::make_arbitrary(pair_segment_generator2),
gtest_reporter); gtest_reporter);
} }
#endif
...@@ -30,13 +30,6 @@ public: ...@@ -30,13 +30,6 @@ public:
ac::gtest_reporter gtest_reporter; ac::gtest_reporter gtest_reporter;
}; };
#if !defined(_MSC_VER) || (_MSC_VER >= 2000)
// Compilers of MVS below 2015 do not support unrestricted unions. The
// unrestricted union is used by autocheck to handle test data. The autocheck
// workaround for MVS compilers (below version 2015) contains a bug and in the
// consequence the tests crashes. For this reason the tests are disabled under
// this environments.
// Use a chord of the unit circle as the original line segment. The line segment // Use a chord of the unit circle as the original line segment. The line segment
// will be partitioned into several sub segments. The set of subsegments are // will be partitioned into several sub segments. The set of subsegments are
// given to the algorithm. // given to the algorithm.
...@@ -115,5 +108,3 @@ TEST_F(GeoLibSortLineSegments, SortSubSegments) ...@@ -115,5 +108,3 @@ TEST_F(GeoLibSortLineSegments, SortSubSegments)
ac::make_arbitrary(segment_generator), ac::make_arbitrary(segment_generator),
gtest_reporter); gtest_reporter);
} }
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment