Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions tests/unit/algorithm/CGAlgorithms/OrientationIsCCWTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,36 @@ void object::test<16>
}


// See https://trac.osgeo.org/postgis/ticket/6065
template<>
template<>
void object::test<17>
()
{
const std::string wkt("POLYGON ((2 1, 2 0, 0 2, 0 0,0 2, 2 1))");
checkCCW(false, wkt);
}


// See https://trac.osgeo.org/postgis/ticket/6065
template<>
template<>
void object::test<18>
()
{
const std::string wkt("POLYGON ((0 0,0 2, 2 1, 2 0, 0 2, 0 0))");
checkCCW(false, wkt);
}
//
// See https://trac.osgeo.org/postgis/ticket/6065
template<>
template<>
void object::test<19>
()
{
const std::string wkt("POLYGON ((-1 0,0 2, 2 1, 2 0, 0 2, 0 0, -1 0))");
checkCCW(false, wkt);
}


} // namespace tut
Expand Down
Loading