{"action":"created","comment":{"url":"https://api.github.com/repos/boostorg/geometry/pulls/comments/63912380","id":63912380,"diff_hunk":"@@ -0,0 +1,85 @@\n+// Boost.Geometry (aka GGL, Generic Geometry Library)\n+// Unit Test\n+\n+// Copyright (c) 2016 Oracle and/or its affiliates.\n+// Contributed and/or modified by Vissarion Fisikopoulos, on behalf of Oracle\n+\n+// Use, modification and distribution is subject to the Boost Software License,\n+// Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at\n+// http://www.boost.org/LICENSE_1_0.txt)\n+\n+#include <algorithms/test_length.hpp>\n+\n+#include <boost/geometry/geometries/geometries.hpp>\n+#include <boost/geometry/geometries/point_xy.hpp>\n+#include <boost/geometry/geometries/adapted/std_pair_as_segment.hpp>\n+\n+#include <test_geometries/all_custom_linestring.hpp>\n+#include <test_geometries/wrapped_boost_array.hpp>\n+\n+std::vector<std::string > Ls_data_gen()\n+{\n+   std::string arr[] = {\"LINESTRING(0 0,180 0,180 180)\",\n+                        \"LINESTRING(0 0,180 0,180 0,180 0,180 180,180 180)\",\n+                        \"LINESTRING(0 0,180 0,180 10,180 20,180 30,180 40,180 50,180 60,180 70,180 80,180 90,180 100,\\\n+                        180 110,180 120,180 130,180 140,180 150,180 160,180 170,180 180)\"};\n+   std::vector<std::string> Ls_data (arr, arr + sizeof(arr) / sizeof(arr[0]));\n+   return Ls_data;\n+}\n+\n+template <typename P>\n+void test_all_default() //test the default strategy\n+{\n+    double const pi = boost::math::constants::pi<double>();\n+    std::vector<std::string > Ls_data = Ls_data_gen();\n+\n+    for(size_t i=0; i<2; ++i)","path":"test/algorithms/length/length_sph.cpp","position":36,"original_position":36,"commit_id":"03555f438ff696e0fd1f4006bad46a5fe44ee472","original_commit_id":"03555f438ff696e0fd1f4006bad46a5fe44ee472","user":{"login":"mkaravel","id":6397014,"avatar_url":"https://avatars.githubusercontent.com/u/6397014?v=3","gravatar_id":"","url":"https://api.github.com/users/mkaravel","html_url":"https://github.com/mkaravel","followers_url":"https://api.github.com/users/mkaravel/followers","following_url":"https://api.github.com/users/mkaravel/following{/other_user}","gists_url":"https://api.github.com/users/mkaravel/gists{/gist_id}","starred_url":"https://api.github.com/users/mkaravel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkaravel/subscriptions","organizations_url":"https://api.github.com/users/mkaravel/orgs","repos_url":"https://api.github.com/users/mkaravel/repos","events_url":"https://api.github.com/users/mkaravel/events{/privacy}","received_events_url":"https://api.github.com/users/mkaravel/received_events","type":"User","site_admin":false},"body":"Replace `size_t` with `std::size_t`.\r\nPlease add spaces before/after `=` and `<`.","created_at":"2016-05-19T16:37:42Z","updated_at":"2016-05-19T16:37:42Z","html_url":"https://github.com/boostorg/geometry/pull/348#discussion_r63912380","pull_request_url":"https://api.github.com/repos/boostorg/geometry/pulls/348","_links":{"self":{"href":"https://api.github.com/repos/boostorg/geometry/pulls/comments/63912380"},"html":{"href":"https://github.com/boostorg/geometry/pull/348#discussion_r63912380"},"pull_request":{"href":"https://api.github.com/repos/boostorg/geometry/pulls/348"}}},"pull_request":{"url":"https://api.github.com/repos/boostorg/geometry/pulls/348","id":70722831,"html_url":"https://github.com/boostorg/geometry/pull/348","diff_url":"https://github.com/boostorg/geometry/pull/348.diff","patch_url":"https://github.com/boostorg/geometry/pull/348.patch","issue_url":"https://api.github.com/repos/boostorg/geometry/issues/348","number":348,"state":"open","locked":false,"title":"Feature/length3","user":{"login":"vissarion","id":3660366,"avatar_url":"https://avatars.githubusercontent.com/u/3660366?v=3","gravatar_id":"","url":"https://api.github.com/users/vissarion","html_url":"https://github.com/vissarion","followers_url":"https://api.github.com/users/vissarion/followers","following_url":"https://api.github.com/users/vissarion/following{/other_user}","gists_url":"https://api.github.com/users/vissarion/gists{/gist_id}","starred_url":"https://api.github.com/users/vissarion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vissarion/subscriptions","organizations_url":"https://api.github.com/users/vissarion/orgs","repos_url":"https://api.github.com/users/vissarion/repos","events_url":"https://api.github.com/users/vissarion/events{/privacy}","received_events_url":"https://api.github.com/users/vissarion/received_events","type":"User","site_admin":false},"body":"Length tests for spherical and geographic coordinate systems.","created_at":"2016-05-19T16:13:49Z","updated_at":"2016-05-19T16:37:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fdd22e57146a62918cebce5b10b2a903ff7ebc32","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/boostorg/geometry/pulls/348/commits","review_comments_url":"https://api.github.com/repos/boostorg/geometry/pulls/348/comments","review_comment_url":"https://api.github.com/repos/boostorg/geometry/pulls/comments{/number}","comments_url":"https://api.github.com/repos/boostorg/geometry/issues/348/comments","statuses_url":"https://api.github.com/repos/boostorg/geometry/statuses/03555f438ff696e0fd1f4006bad46a5fe44ee472","head":{"label":"vissarion:feature/length3","ref":"feature/length3","sha":"03555f438ff696e0fd1f4006bad46a5fe44ee472","user":{"login":"vissarion","id":3660366,"avatar_url":"https://avatars.githubusercontent.com/u/3660366?v=3","gravatar_id":"","url":"https://api.github.com/users/vissarion","html_url":"https://github.com/vissarion","followers_url":"https://api.github.com/users/vissarion/followers","following_url":"https://api.github.com/users/vissarion/following{/other_user}","gists_url":"https://api.github.com/users/vissarion/gists{/gist_id}","starred_url":"https://api.github.com/users/vissarion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vissarion/subscriptions","organizations_url":"https://api.github.com/users/vissarion/orgs","repos_url":"https://api.github.com/users/vissarion/repos","events_url":"https://api.github.com/users/vissarion/events{/privacy}","received_events_url":"https://api.github.com/users/vissarion/received_events","type":"User","site_admin":false},"repo":{"id":58446139,"name":"geometry","full_name":"vissarion/geometry","owner":{"login":"vissarion","id":3660366,"avatar_url":"https://avatars.githubusercontent.com/u/3660366?v=3","gravatar_id":"","url":"https://api.github.com/users/vissarion","html_url":"https://github.com/vissarion","followers_url":"https://api.github.com/users/vissarion/followers","following_url":"https://api.github.com/users/vissarion/following{/other_user}","gists_url":"https://api.github.com/users/vissarion/gists{/gist_id}","starred_url":"https://api.github.com/users/vissarion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vissarion/subscriptions","organizations_url":"https://api.github.com/users/vissarion/orgs","repos_url":"https://api.github.com/users/vissarion/repos","events_url":"https://api.github.com/users/vissarion/events{/privacy}","received_events_url":"https://api.github.com/users/vissarion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vissarion/geometry","description":"Boost.org geometry module","fork":true,"url":"https://api.github.com/repos/vissarion/geometry","forks_url":"https://api.github.com/repos/vissarion/geometry/forks","keys_url":"https://api.github.com/repos/vissarion/geometry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vissarion/geometry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vissarion/geometry/teams","hooks_url":"https://api.github.com/repos/vissarion/geometry/hooks","issue_events_url":"https://api.github.com/repos/vissarion/geometry/issues/events{/number}","events_url":"https://api.github.com/repos/vissarion/geometry/events","assignees_url":"https://api.github.com/repos/vissarion/geometry/assignees{/user}","branches_url":"https://api.github.com/repos/vissarion/geometry/branches{/branch}","tags_url":"https://api.github.com/repos/vissarion/geometry/tags","blobs_url":"https://api.github.com/repos/vissarion/geometry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vissarion/geometry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vissarion/geometry/git/refs{/sha}","trees_url":"https://api.github.com/repos/vissarion/geometry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vissarion/geometry/statuses/{sha}","languages_url":"https://api.github.com/repos/vissarion/geometry/languages","stargazers_url":"https://api.github.com/repos/vissarion/geometry/stargazers","contributors_url":"https://api.github.com/repos/vissarion/geometry/contributors","subscribers_url":"https://api.github.com/repos/vissarion/geometry/subscribers","subscription_url":"https://api.github.com/repos/vissarion/geometry/subscription","commits_url":"https://api.github.com/repos/vissarion/geometry/commits{/sha}","git_commits_url":"https://api.github.com/repos/vissarion/geometry/git/commits{/sha}","comments_url":"https://api.github.com/repos/vissarion/geometry/comments{/number}","issue_comment_url":"https://api.github.com/repos/vissarion/geometry/issues/comments{/number}","contents_url":"https://api.github.com/repos/vissarion/geometry/contents/{+path}","compare_url":"https://api.github.com/repos/vissarion/geometry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vissarion/geometry/merges","archive_url":"https://api.github.com/repos/vissarion/geometry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vissarion/geometry/downloads","issues_url":"https://api.github.com/repos/vissarion/geometry/issues{/number}","pulls_url":"https://api.github.com/repos/vissarion/geometry/pulls{/number}","milestones_url":"https://api.github.com/repos/vissarion/geometry/milestones{/number}","notifications_url":"https://api.github.com/repos/vissarion/geometry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vissarion/geometry/labels{/name}","releases_url":"https://api.github.com/repos/vissarion/geometry/releases{/id}","deployments_url":"https://api.github.com/repos/vissarion/geometry/deployments","created_at":"2016-05-10T09:07:50Z","updated_at":"2016-05-15T20:46:32Z","pushed_at":"2016-05-19T16:03:49Z","git_url":"git://github.com/vissarion/geometry.git","ssh_url":"git@github.com:vissarion/geometry.git","clone_url":"https://github.com/vissarion/geometry.git","svn_url":"https://github.com/vissarion/geometry","homepage":"http://boost.org/libs/geometry","size":95281,"stargazers_count":1,"watchers_count":1,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":1,"default_branch":"develop"}},"base":{"label":"boostorg:develop","ref":"develop","sha":"51beafd4a7b67e3296313c51ea768700dc4cfa95","user":{"login":"boostorg","id":3170529,"avatar_url":"https://avatars.githubusercontent.com/u/3170529?v=3","gravatar_id":"","url":"https://api.github.com/users/boostorg","html_url":"https://github.com/boostorg","followers_url":"https://api.github.com/users/boostorg/followers","following_url":"https://api.github.com/users/boostorg/following{/other_user}","gists_url":"https://api.github.com/users/boostorg/gists{/gist_id}","starred_url":"https://api.github.com/users/boostorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boostorg/subscriptions","organizations_url":"https://api.github.com/users/boostorg/orgs","repos_url":"https://api.github.com/users/boostorg/repos","events_url":"https://api.github.com/users/boostorg/events{/privacy}","received_events_url":"https://api.github.com/users/boostorg/received_events","type":"Organization","site_admin":false},"repo":{"id":7590021,"name":"geometry","full_name":"boostorg/geometry","owner":{"login":"boostorg","id":3170529,"avatar_url":"https://avatars.githubusercontent.com/u/3170529?v=3","gravatar_id":"","url":"https://api.github.com/users/boostorg","html_url":"https://github.com/boostorg","followers_url":"https://api.github.com/users/boostorg/followers","following_url":"https://api.github.com/users/boostorg/following{/other_user}","gists_url":"https://api.github.com/users/boostorg/gists{/gist_id}","starred_url":"https://api.github.com/users/boostorg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/boostorg/subscriptions","organizations_url":"https://api.github.com/users/boostorg/orgs","repos_url":"https://api.github.com/users/boostorg/repos","events_url":"https://api.github.com/users/boostorg/events{/privacy}","received_events_url":"https://api.github.com/users/boostorg/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/boostorg/geometry","description":"Boost.org geometry module","fork":false,"url":"https://api.github.com/repos/boostorg/geometry","forks_url":"https://api.github.com/repos/boostorg/geometry/forks","keys_url":"https://api.github.com/repos/boostorg/geometry/keys{/key_id}","collaborators_url":"https://api.github.com/repos/boostorg/geometry/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/boostorg/geometry/teams","hooks_url":"https://api.github.com/repos/boostorg/geometry/hooks","issue_events_url":"https://api.github.com/repos/boostorg/geometry/issues/events{/number}","events_url":"https://api.github.com/repos/boostorg/geometry/events","assignees_url":"https://api.github.com/repos/boostorg/geometry/assignees{/user}","branches_url":"https://api.github.com/repos/boostorg/geometry/branches{/branch}","tags_url":"https://api.github.com/repos/boostorg/geometry/tags","blobs_url":"https://api.github.com/repos/boostorg/geometry/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/boostorg/geometry/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/boostorg/geometry/git/refs{/sha}","trees_url":"https://api.github.com/repos/boostorg/geometry/git/trees{/sha}","statuses_url":"https://api.github.com/repos/boostorg/geometry/statuses/{sha}","languages_url":"https://api.github.com/repos/boostorg/geometry/languages","stargazers_url":"https://api.github.com/repos/boostorg/geometry/stargazers","contributors_url":"https://api.github.com/repos/boostorg/geometry/contributors","subscribers_url":"https://api.github.com/repos/boostorg/geometry/subscribers","subscription_url":"https://api.github.com/repos/boostorg/geometry/subscription","commits_url":"https://api.github.com/repos/boostorg/geometry/commits{/sha}","git_commits_url":"https://api.github.com/repos/boostorg/geometry/git/commits{/sha}","comments_url":"https://api.github.com/repos/boostorg/geometry/comments{/number}","issue_comment_url":"https://api.github.com/repos/boostorg/geometry/issues/comments{/number}","contents_url":"https://api.github.com/repos/boostorg/geometry/contents/{+path}","compare_url":"https://api.github.com/repos/boostorg/geometry/compare/{base}...{head}","merges_url":"https://api.github.com/repos/boostorg/geometry/merges","archive_url":"https://api.github.com/repos/boostorg/geometry/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/boostorg/geometry/downloads","issues_url":"https://api.github.com/repos/boostorg/geometry/issues{/number}","pulls_url":"https://api.github.com/repos/boostorg/geometry/pulls{/number}","milestones_url":"https://api.github.com/repos/boostorg/geometry/milestones{/number}","notifications_url":"https://api.github.com/repos/boostorg/geometry/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/boostorg/geometry/labels{/name}","releases_url":"https://api.github.com/repos/boostorg/geometry/releases{/id}","deployments_url":"https://api.github.com/repos/boostorg/geometry/deployments","created_at":"2013-01-13T15:59:29Z","updated_at":"2016-05-15T20:46:38Z","pushed_at":"2016-05-19T16:13:49Z","git_url":"git://github.com/boostorg/geometry.git","ssh_url":"git@github.com:boostorg/geometry.git","clone_url":"https://github.com/boostorg/geometry.git","svn_url":"https://github.com/boostorg/geometry","homepage":"http://boost.org/libs/geometry","size":46421,"stargazers_count":75,"watchers_count":75,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":7,"forks":57,"open_issues":7,"watchers":75,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/boostorg/geometry/pulls/348"},"html":{"href":"https://github.com/boostorg/geometry/pull/348"},"issue":{"href":"https://api.github.com/repos/boostorg/geometry/issues/348"},"comments":{"href":"https://api.github.com/repos/boostorg/geometry/issues/348/comments"},"review_comments":{"href":"https://api.github.com/repos/boostorg/geometry/pulls/348/comments"},"review_comment":{"href":"https://api.github.com/repos/boostorg/geometry/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/boostorg/geometry/pulls/348/commits"},"statuses":{"href":"https://api.github.com/repos/boostorg/geometry/statuses/03555f438ff696e0fd1f4006bad46a5fe44ee472"}}}}