{"action":"created","comment":{"url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/pulls/comments/306521966","pull_request_review_id":265663226,"id":306521966,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwNjUyMTk2Ng==","diff_hunk":"@@ -0,0 +1,70 @@\n+import static org.junit.Assert.assertArrayEquals;\n+import static org.junit.Assert.assertEquals;\n+\n+import java.lang.reflect.Array;\n+import java.util.*;\n+\n+import org.junit.Test;\n+import org.junit.experimental.runners.Enclosed;\n+import org.junit.runner.RunWith;\n+import org.junit.runners.Parameterized;\n+\n+/**\n+ * Test class having both parameterized tests, easily expandable to have more test cases and single\n+ * tests, testing exceptions\n+ */\n+@RunWith(Enclosed.class)\n+public class MovingCarsSolverTest {\n+\n+    @RunWith(Parameterized.class)\n+    public static class MovingCarsSolverParameterizedTest {\n+        private int[] desiredCarPositions;\n+        private int[] currentCarPositions;\n+        private ArrayList<ArrayList<Integer>> expectedCarMoves;\n+\n+        public MovingCarsSolverParameterizedTest(int[] desiredCarPositions, int[] currentCarPositions,\n+                                                 ArrayList<ArrayList<Integer>> expectedCarMoves) {\n+              this.desiredCarPositions = desiredCarPositions;\n+              this.currentCarPositions = currentCarPositions;\n+              this.expectedCarMoves = expectedCarMoves;\n+        }\n+\n+        private static ArrayList<Move> buildExpectedCarMoves1() {\n+            ArrayList<Move> result = new ArrayList<>();\n+            result.add(new Move(2, 'B', 'C'));","path":"group/assignment-6/MovingCarsSolverTest.java","position":null,"original_position":34,"commit_id":"78e0186a5abb6fd3a65692b5c41a7f0cd9a8be17","original_commit_id":"0f1ac2d39c723164abaf0e726b4cd2759009e76e","user":{"login":"Adelina9","id":50179156,"node_id":"MDQ6VXNlcjUwMTc5MTU2","avatar_url":"https://avatars3.githubusercontent.com/u/50179156?v=4","gravatar_id":"","url":"https://api.github.com/users/Adelina9","html_url":"https://github.com/Adelina9","followers_url":"https://api.github.com/users/Adelina9/followers","following_url":"https://api.github.com/users/Adelina9/following{/other_user}","gists_url":"https://api.github.com/users/Adelina9/gists{/gist_id}","starred_url":"https://api.github.com/users/Adelina9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adelina9/subscriptions","organizations_url":"https://api.github.com/users/Adelina9/orgs","repos_url":"https://api.github.com/users/Adelina9/repos","events_url":"https://api.github.com/users/Adelina9/events{/privacy}","received_events_url":"https://api.github.com/users/Adelina9/received_events","type":"User","site_admin":false},"body":"I know it works too, but I'm not sure why change the move parameteres to int in the first place if you are goint to use characters anyway.","created_at":"2019-07-23T20:38:48Z","updated_at":"2019-07-23T20:38:49Z","html_url":"https://github.com/Google-CodeU-EMEA/Group-12/pull/27#discussion_r306521966","pull_request_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/pulls/27","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/pulls/comments/306521966"},"html":{"href":"https://github.com/Google-CodeU-EMEA/Group-12/pull/27#discussion_r306521966"},"pull_request":{"href":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/pulls/27"}},"in_reply_to_id":306304904},"pull_request":{"url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/pulls/27","id":300275764,"node_id":"MDExOlB1bGxSZXF1ZXN0MzAwMjc1NzY0","html_url":"https://github.com/Google-CodeU-EMEA/Group-12/pull/27","diff_url":"https://github.com/Google-CodeU-EMEA/Group-12/pull/27.diff","patch_url":"https://github.com/Google-CodeU-EMEA/Group-12/pull/27.patch","issue_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/issues/27","number":27,"state":"open","locked":false,"title":"Group assignment development","user":{"login":"Adelina9","id":50179156,"node_id":"MDQ6VXNlcjUwMTc5MTU2","avatar_url":"https://avatars3.githubusercontent.com/u/50179156?v=4","gravatar_id":"","url":"https://api.github.com/users/Adelina9","html_url":"https://github.com/Adelina9","followers_url":"https://api.github.com/users/Adelina9/followers","following_url":"https://api.github.com/users/Adelina9/following{/other_user}","gists_url":"https://api.github.com/users/Adelina9/gists{/gist_id}","starred_url":"https://api.github.com/users/Adelina9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adelina9/subscriptions","organizations_url":"https://api.github.com/users/Adelina9/orgs","repos_url":"https://api.github.com/users/Adelina9/repos","events_url":"https://api.github.com/users/Adelina9/events{/privacy}","received_events_url":"https://api.github.com/users/Adelina9/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-07-23T12:36:02Z","updated_at":"2019-07-23T20:38:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f332b5b89268c450d1a0bd70b598d273a6a072bd","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/pulls/27/commits","review_comments_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/pulls/27/comments","review_comment_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/issues/27/comments","statuses_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/statuses/78e0186a5abb6fd3a65692b5c41a7f0cd9a8be17","head":{"label":"Google-CodeU-EMEA:group-assignment-development","ref":"group-assignment-development","sha":"78e0186a5abb6fd3a65692b5c41a7f0cd9a8be17","user":{"login":"Google-CodeU-EMEA","id":39274388,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5Mjc0Mzg4","avatar_url":"https://avatars2.githubusercontent.com/u/39274388?v=4","gravatar_id":"","url":"https://api.github.com/users/Google-CodeU-EMEA","html_url":"https://github.com/Google-CodeU-EMEA","followers_url":"https://api.github.com/users/Google-CodeU-EMEA/followers","following_url":"https://api.github.com/users/Google-CodeU-EMEA/following{/other_user}","gists_url":"https://api.github.com/users/Google-CodeU-EMEA/gists{/gist_id}","starred_url":"https://api.github.com/users/Google-CodeU-EMEA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Google-CodeU-EMEA/subscriptions","organizations_url":"https://api.github.com/users/Google-CodeU-EMEA/orgs","repos_url":"https://api.github.com/users/Google-CodeU-EMEA/repos","events_url":"https://api.github.com/users/Google-CodeU-EMEA/events{/privacy}","received_events_url":"https://api.github.com/users/Google-CodeU-EMEA/received_events","type":"Organization","site_admin":false},"repo":{"id":185093058,"node_id":"MDEwOlJlcG9zaXRvcnkxODUwOTMwNTg=","name":"Group-12","full_name":"Google-CodeU-EMEA/Group-12","private":false,"owner":{"login":"Google-CodeU-EMEA","id":39274388,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5Mjc0Mzg4","avatar_url":"https://avatars2.githubusercontent.com/u/39274388?v=4","gravatar_id":"","url":"https://api.github.com/users/Google-CodeU-EMEA","html_url":"https://github.com/Google-CodeU-EMEA","followers_url":"https://api.github.com/users/Google-CodeU-EMEA/followers","following_url":"https://api.github.com/users/Google-CodeU-EMEA/following{/other_user}","gists_url":"https://api.github.com/users/Google-CodeU-EMEA/gists{/gist_id}","starred_url":"https://api.github.com/users/Google-CodeU-EMEA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Google-CodeU-EMEA/subscriptions","organizations_url":"https://api.github.com/users/Google-CodeU-EMEA/orgs","repos_url":"https://api.github.com/users/Google-CodeU-EMEA/repos","events_url":"https://api.github.com/users/Google-CodeU-EMEA/events{/privacy}","received_events_url":"https://api.github.com/users/Google-CodeU-EMEA/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Google-CodeU-EMEA/Group-12","description":"Google CodeU EMEA Group 12 repository","fork":false,"url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12","forks_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/forks","keys_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/teams","hooks_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/hooks","issue_events_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/issues/events{/number}","events_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/events","assignees_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/assignees{/user}","branches_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/branches{/branch}","tags_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/tags","blobs_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/git/refs{/sha}","trees_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/statuses/{sha}","languages_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/languages","stargazers_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/stargazers","contributors_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/contributors","subscribers_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/subscribers","subscription_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/subscription","commits_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/commits{/sha}","git_commits_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/git/commits{/sha}","comments_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/comments{/number}","issue_comment_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/issues/comments{/number}","contents_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/contents/{+path}","compare_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/merges","archive_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/downloads","issues_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/issues{/number}","pulls_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/pulls{/number}","milestones_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/milestones{/number}","notifications_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/labels{/name}","releases_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/releases{/id}","deployments_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/deployments","created_at":"2019-05-05T23:18:59Z","updated_at":"2019-07-19T16:26:13Z","pushed_at":"2019-07-23T20:31:07Z","git_url":"git://github.com/Google-CodeU-EMEA/Group-12.git","ssh_url":"git@github.com:Google-CodeU-EMEA/Group-12.git","clone_url":"https://github.com/Google-CodeU-EMEA/Group-12.git","svn_url":"https://github.com/Google-CodeU-EMEA/Group-12","homepage":null,"size":6458,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":5,"license":null,"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"Google-CodeU-EMEA:master","ref":"master","sha":"d3cd2ac31b0f647eefbd7d73338442ba6f07c19f","user":{"login":"Google-CodeU-EMEA","id":39274388,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5Mjc0Mzg4","avatar_url":"https://avatars2.githubusercontent.com/u/39274388?v=4","gravatar_id":"","url":"https://api.github.com/users/Google-CodeU-EMEA","html_url":"https://github.com/Google-CodeU-EMEA","followers_url":"https://api.github.com/users/Google-CodeU-EMEA/followers","following_url":"https://api.github.com/users/Google-CodeU-EMEA/following{/other_user}","gists_url":"https://api.github.com/users/Google-CodeU-EMEA/gists{/gist_id}","starred_url":"https://api.github.com/users/Google-CodeU-EMEA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Google-CodeU-EMEA/subscriptions","organizations_url":"https://api.github.com/users/Google-CodeU-EMEA/orgs","repos_url":"https://api.github.com/users/Google-CodeU-EMEA/repos","events_url":"https://api.github.com/users/Google-CodeU-EMEA/events{/privacy}","received_events_url":"https://api.github.com/users/Google-CodeU-EMEA/received_events","type":"Organization","site_admin":false},"repo":{"id":185093058,"node_id":"MDEwOlJlcG9zaXRvcnkxODUwOTMwNTg=","name":"Group-12","full_name":"Google-CodeU-EMEA/Group-12","private":false,"owner":{"login":"Google-CodeU-EMEA","id":39274388,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM5Mjc0Mzg4","avatar_url":"https://avatars2.githubusercontent.com/u/39274388?v=4","gravatar_id":"","url":"https://api.github.com/users/Google-CodeU-EMEA","html_url":"https://github.com/Google-CodeU-EMEA","followers_url":"https://api.github.com/users/Google-CodeU-EMEA/followers","following_url":"https://api.github.com/users/Google-CodeU-EMEA/following{/other_user}","gists_url":"https://api.github.com/users/Google-CodeU-EMEA/gists{/gist_id}","starred_url":"https://api.github.com/users/Google-CodeU-EMEA/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Google-CodeU-EMEA/subscriptions","organizations_url":"https://api.github.com/users/Google-CodeU-EMEA/orgs","repos_url":"https://api.github.com/users/Google-CodeU-EMEA/repos","events_url":"https://api.github.com/users/Google-CodeU-EMEA/events{/privacy}","received_events_url":"https://api.github.com/users/Google-CodeU-EMEA/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/Google-CodeU-EMEA/Group-12","description":"Google CodeU EMEA Group 12 repository","fork":false,"url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12","forks_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/forks","keys_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/teams","hooks_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/hooks","issue_events_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/issues/events{/number}","events_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/events","assignees_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/assignees{/user}","branches_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/branches{/branch}","tags_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/tags","blobs_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/git/refs{/sha}","trees_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/statuses/{sha}","languages_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/languages","stargazers_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/stargazers","contributors_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/contributors","subscribers_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/subscribers","subscription_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/subscription","commits_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/commits{/sha}","git_commits_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/git/commits{/sha}","comments_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/comments{/number}","issue_comment_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/issues/comments{/number}","contents_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/contents/{+path}","compare_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/merges","archive_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/downloads","issues_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/issues{/number}","pulls_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/pulls{/number}","milestones_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/milestones{/number}","notifications_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/labels{/name}","releases_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/releases{/id}","deployments_url":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/deployments","created_at":"2019-05-05T23:18:59Z","updated_at":"2019-07-19T16:26:13Z","pushed_at":"2019-07-23T20:31:07Z","git_url":"git://github.com/Google-CodeU-EMEA/Group-12.git","ssh_url":"git@github.com:Google-CodeU-EMEA/Group-12.git","clone_url":"https://github.com/Google-CodeU-EMEA/Group-12.git","svn_url":"https://github.com/Google-CodeU-EMEA/Group-12","homepage":null,"size":6458,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":5,"license":null,"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/pulls/27"},"html":{"href":"https://github.com/Google-CodeU-EMEA/Group-12/pull/27"},"issue":{"href":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/issues/27"},"comments":{"href":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/Google-CodeU-EMEA/Group-12/statuses/78e0186a5abb6fd3a65692b5c41a7f0cd9a8be17"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Adelina9"}}