{"action":"created","comment":{"url":"https://api.github.com/repos/Minions-E/devfund/pulls/comments/189469969","pull_request_review_id":121654429,"id":189469969,"diff_hunk":"@@ -0,0 +1,384 @@\n+/*\n+ * To change this license header, choose License Headers in Project Properties.\n+ * To change this template file, choose Tools | Templates\n+ * and open the template in the editor.\n+ */\n+package org.minions.devfund.denis;\n+\n+import org.junit.Assert;\n+import org.junit.Before;\n+import org.junit.Test;\n+\n+/**\n+ *\n+ * @author Denis Parra\n+ */\n+public class SquarelotronTest {\n+\n+    private static final int[][] MATRIZ_ONE = new int[][] {{1}};\n+    private static final int[][] MATRIZ_TWO = new int[][] {{1, 2}, {3, 4}};\n+    private static final int[][] MATRIZ_THREE = new int[][] {{1, 2, 3},\n+                                                              {4, 5, 6},\n+                                                              {7, 8, 9}};\n+    private static final int[][] MATRIZ_FOUR = new int[][] {{1, 2, 3, 4},\n+                                                             {5, 6, 7, 8},\n+                                                             {9, 10, 11, 12},\n+                                                             {13, 14, 15, 16}};\n+    private static final int[][] MATRIZ_FIVE = new int[][] {{1, 2, 3, 4, 5},\n+                                                             {6, 7, 8, 9, 10},\n+                                                             {11, 12, 13, 14, 15},\n+                                                             {16, 17, 18, 19, 20},\n+                                                             {21, 22, 23, 24, 25}};\n+    private static final int[][] EXPECTED_ONE = {{3, 4}, {1, 2}};\n+    private static final int[][] EXPECTTED_TWO = {{7, 8, 9}, {4, 5, 6}, {1, 2, 3}};\n+    private static final int[][] EXPECTED_THREE = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};\n+    private static final int[][] EXPECTED_FOUR = {{13, 14, 15, 16}, {9, 6, 7, 12}, {5, 10, 11, 8}, {1, 2, 3, 4}};\n+    private static final int[][] EXPECTED_FIVE = {{1, 2, 3, 4}, {5, 10, 11, 8}, {9, 6, 7, 12}, {13, 14, 15, 16}};\n+    private static final int[][] EXPECTED_SIX = {{21, 22, 23, 24, 25},\n+                                                 {16, 7, 8, 9, 20},\n+                                                 {11, 12, 13, 14, 15},\n+                                                 {6, 17, 18, 19, 10},\n+                                                 {1, 2, 3, 4, 5}};\n+    private static final int[][] EXPECTED_SEVEN = {{1, 2, 3, 4, 5},\n+                                                   {6, 17, 18, 19, 10},\n+                                                   {11, 12, 13, 14, 15},\n+                                                   {16, 7, 8, 9, 20},\n+                                                   {21, 22, 23, 24, 25}};\n+    private static final int[][] EXECTED_EIGTH = {{1, 2, 3, 4, 5},\n+                                                  {6, 7, 8, 9, 10},\n+                                                  {11, 12, 13, 14, 15},\n+                                                  {16, 17, 18, 19, 20},\n+                                                  {21, 22, 23, 24, 25}};\n+    private static final int[][] EXPECTED_NINE = {{1, 3}, {2, 4}};\n+    private static final int[][] EXPECTED_TEN = {{1, 4, 7}, {2, 5, 8}, {3, 6, 9}};\n+    private static final int[][] EXPECTED_ELEVEN = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};\n+    private static final int[][] EXPECTED_TWELVE = {{1, 5, 9, 13}, {2, 6, 7, 14}, {3, 10, 11, 15}, {4, 8, 12, 16}};\n+    private static final int[][] EXPECTED_THIRTEEN = {{1, 2, 3, 4}, {5, 6, 10, 8}, {9, 7, 11, 12}, {13, 14, 15, 16}};\n+    private static final int[][] EXPECTED_FORTEEN = {{1, 6, 11, 16, 21},\n+                                                     {2, 7, 8, 9, 22},\n+                                                     {3, 12, 13, 14, 23},\n+                                                     {4, 17, 18, 19, 24},\n+                                                     {5, 10, 15, 20, 25}};\n+    private static final int[][] EXPECTED_FIFTHEEN = {{1, 2, 3, 4, 5},\n+                                                      {6, 7, 12, 17, 10},\n+                                                      {11, 8, 13, 18, 15},\n+                                                      {16, 9, 14, 19, 20},\n+                                                      {21, 22, 23, 24, 25}};\n+    private static final int[][] EXPECTED_SIXTEEN = {{7, 4, 1}, {8, 5, 2}, {9, 6, 3}};\n+    private static final int[][] EXPECTED_SEVENTEEN = {{9, 8, 7}, {6, 5, 4}, {3, 2, 1}};\n+    private static final int[][] EXPECTED_EIGTHEEN = {{3, 6, 9}, {2, 5, 8}, {1, 4, 7}};\n+    private static final int[][] EXPECTED_NINETTEN = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};\n+    private static final int[][] EXPECTED_TWENTY_ONE = {{7, 4, 1}, {8, 5, 2}, {9, 6, 3}};\n+    private static final int[][] EXPECTED_TWENTY_TWO = {{1, 2, 3}, {4, 5, 6}, {7, 8, 9}};\n+    private static final int ONE = 1;\n+    private static final int TWO = 2;\n+    private static final int THREE = 3;\n+    private static final int FOUR = 4;\n+    private static final int FIVE = 5;\n+    private static final int ONE_NEGATIVE = -1;\n+    private static final int TWO_NEGATIVE = -2;\n+    private static final int THREE_NEGATIVE = -3;\n+    private static final int FOUR_NEGATIVE = -4;\n+\n+    /**\n+     * To execute before each test.\n+     */\n+    @Before\n+    public void setUp() {","path":"src/test/java/org/minions/devfund/denis/SquarelotronTest.java","position":87,"original_position":87,"commit_id":"631550bb0cb520fc0c292403ea24080215ba6e88","original_commit_id":"631550bb0cb520fc0c292403ea24080215ba6e88","user":{"login":"carledriss","id":3298869,"avatar_url":"https://avatars2.githubusercontent.com/u/3298869?v=4","gravatar_id":"","url":"https://api.github.com/users/carledriss","html_url":"https://github.com/carledriss","followers_url":"https://api.github.com/users/carledriss/followers","following_url":"https://api.github.com/users/carledriss/following{/other_user}","gists_url":"https://api.github.com/users/carledriss/gists{/gist_id}","starred_url":"https://api.github.com/users/carledriss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carledriss/subscriptions","organizations_url":"https://api.github.com/users/carledriss/orgs","repos_url":"https://api.github.com/users/carledriss/repos","events_url":"https://api.github.com/users/carledriss/events{/privacy}","received_events_url":"https://api.github.com/users/carledriss/received_events","type":"User","site_admin":false},"body":"![CRITICAL](https://sonarsource.github.io/sonar-github/severity-critical.png 'Severity: CRITICAL') Add a nested comment explaining why this method is empty, throw an UnsupportedOperationException or complete the implementation. [![rule](https://sonarsource.github.io/sonar-github/rule.png)](https://sonarcloud.io/coding_rules#rule_key=squid%3AS1186)\n","created_at":"2018-05-20T20:40:57Z","updated_at":"2018-05-20T20:40:58Z","html_url":"https://github.com/Minions-E/devfund/pull/15#discussion_r189469969","pull_request_url":"https://api.github.com/repos/Minions-E/devfund/pulls/15","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/Minions-E/devfund/pulls/comments/189469969"},"html":{"href":"https://github.com/Minions-E/devfund/pull/15#discussion_r189469969"},"pull_request":{"href":"https://api.github.com/repos/Minions-E/devfund/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/Minions-E/devfund/pulls/15","id":189251594,"html_url":"https://github.com/Minions-E/devfund/pull/15","diff_url":"https://github.com/Minions-E/devfund/pull/15.diff","patch_url":"https://github.com/Minions-E/devfund/pull/15.patch","issue_url":"https://api.github.com/repos/Minions-E/devfund/issues/15","number":15,"state":"open","locked":false,"title":"Homework week two Squarelotron","user":{"login":"denisparra123","id":38664890,"avatar_url":"https://avatars1.githubusercontent.com/u/38664890?v=4","gravatar_id":"","url":"https://api.github.com/users/denisparra123","html_url":"https://github.com/denisparra123","followers_url":"https://api.github.com/users/denisparra123/followers","following_url":"https://api.github.com/users/denisparra123/following{/other_user}","gists_url":"https://api.github.com/users/denisparra123/gists{/gist_id}","starred_url":"https://api.github.com/users/denisparra123/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denisparra123/subscriptions","organizations_url":"https://api.github.com/users/denisparra123/orgs","repos_url":"https://api.github.com/users/denisparra123/repos","events_url":"https://api.github.com/users/denisparra123/events{/privacy}","received_events_url":"https://api.github.com/users/denisparra123/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-05-20T20:38:19Z","updated_at":"2018-05-20T20:40:58Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88292437ca75a7ddb3d8f651fd4144fcde01796a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Minions-E/devfund/pulls/15/commits","review_comments_url":"https://api.github.com/repos/Minions-E/devfund/pulls/15/comments","review_comment_url":"https://api.github.com/repos/Minions-E/devfund/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Minions-E/devfund/issues/15/comments","statuses_url":"https://api.github.com/repos/Minions-E/devfund/statuses/631550bb0cb520fc0c292403ea24080215ba6e88","head":{"label":"Minions-E:denis/squarelotron","ref":"denis/squarelotron","sha":"631550bb0cb520fc0c292403ea24080215ba6e88","user":{"login":"Minions-E","id":38443866,"avatar_url":"https://avatars2.githubusercontent.com/u/38443866?v=4","gravatar_id":"","url":"https://api.github.com/users/Minions-E","html_url":"https://github.com/Minions-E","followers_url":"https://api.github.com/users/Minions-E/followers","following_url":"https://api.github.com/users/Minions-E/following{/other_user}","gists_url":"https://api.github.com/users/Minions-E/gists{/gist_id}","starred_url":"https://api.github.com/users/Minions-E/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minions-E/subscriptions","organizations_url":"https://api.github.com/users/Minions-E/orgs","repos_url":"https://api.github.com/users/Minions-E/repos","events_url":"https://api.github.com/users/Minions-E/events{/privacy}","received_events_url":"https://api.github.com/users/Minions-E/received_events","type":"Organization","site_admin":false},"repo":{"id":129814449,"name":"devfund","full_name":"Minions-E/devfund","owner":{"login":"Minions-E","id":38443866,"avatar_url":"https://avatars2.githubusercontent.com/u/38443866?v=4","gravatar_id":"","url":"https://api.github.com/users/Minions-E","html_url":"https://github.com/Minions-E","followers_url":"https://api.github.com/users/Minions-E/followers","following_url":"https://api.github.com/users/Minions-E/following{/other_user}","gists_url":"https://api.github.com/users/Minions-E/gists{/gist_id}","starred_url":"https://api.github.com/users/Minions-E/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minions-E/subscriptions","organizations_url":"https://api.github.com/users/Minions-E/orgs","repos_url":"https://api.github.com/users/Minions-E/repos","events_url":"https://api.github.com/users/Minions-E/events{/privacy}","received_events_url":"https://api.github.com/users/Minions-E/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Minions-E/devfund","description":null,"fork":false,"url":"https://api.github.com/repos/Minions-E/devfund","forks_url":"https://api.github.com/repos/Minions-E/devfund/forks","keys_url":"https://api.github.com/repos/Minions-E/devfund/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Minions-E/devfund/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Minions-E/devfund/teams","hooks_url":"https://api.github.com/repos/Minions-E/devfund/hooks","issue_events_url":"https://api.github.com/repos/Minions-E/devfund/issues/events{/number}","events_url":"https://api.github.com/repos/Minions-E/devfund/events","assignees_url":"https://api.github.com/repos/Minions-E/devfund/assignees{/user}","branches_url":"https://api.github.com/repos/Minions-E/devfund/branches{/branch}","tags_url":"https://api.github.com/repos/Minions-E/devfund/tags","blobs_url":"https://api.github.com/repos/Minions-E/devfund/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Minions-E/devfund/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Minions-E/devfund/git/refs{/sha}","trees_url":"https://api.github.com/repos/Minions-E/devfund/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Minions-E/devfund/statuses/{sha}","languages_url":"https://api.github.com/repos/Minions-E/devfund/languages","stargazers_url":"https://api.github.com/repos/Minions-E/devfund/stargazers","contributors_url":"https://api.github.com/repos/Minions-E/devfund/contributors","subscribers_url":"https://api.github.com/repos/Minions-E/devfund/subscribers","subscription_url":"https://api.github.com/repos/Minions-E/devfund/subscription","commits_url":"https://api.github.com/repos/Minions-E/devfund/commits{/sha}","git_commits_url":"https://api.github.com/repos/Minions-E/devfund/git/commits{/sha}","comments_url":"https://api.github.com/repos/Minions-E/devfund/comments{/number}","issue_comment_url":"https://api.github.com/repos/Minions-E/devfund/issues/comments{/number}","contents_url":"https://api.github.com/repos/Minions-E/devfund/contents/{+path}","compare_url":"https://api.github.com/repos/Minions-E/devfund/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Minions-E/devfund/merges","archive_url":"https://api.github.com/repos/Minions-E/devfund/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Minions-E/devfund/downloads","issues_url":"https://api.github.com/repos/Minions-E/devfund/issues{/number}","pulls_url":"https://api.github.com/repos/Minions-E/devfund/pulls{/number}","milestones_url":"https://api.github.com/repos/Minions-E/devfund/milestones{/number}","notifications_url":"https://api.github.com/repos/Minions-E/devfund/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Minions-E/devfund/labels{/name}","releases_url":"https://api.github.com/repos/Minions-E/devfund/releases{/id}","deployments_url":"https://api.github.com/repos/Minions-E/devfund/deployments","created_at":"2018-04-16T22:40:02Z","updated_at":"2018-05-18T01:44:09Z","pushed_at":"2018-05-20T20:38:19Z","git_url":"git://github.com/Minions-E/devfund.git","ssh_url":"git@github.com:Minions-E/devfund.git","clone_url":"https://github.com/Minions-E/devfund.git","svn_url":"https://github.com/Minions-E/devfund","homepage":null,"size":101,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":4,"open_issues":12,"watchers":0,"default_branch":"develop"}},"base":{"label":"Minions-E:develop","ref":"develop","sha":"8c6d3da13bc852fa93c1b433342786a6945de7de","user":{"login":"Minions-E","id":38443866,"avatar_url":"https://avatars2.githubusercontent.com/u/38443866?v=4","gravatar_id":"","url":"https://api.github.com/users/Minions-E","html_url":"https://github.com/Minions-E","followers_url":"https://api.github.com/users/Minions-E/followers","following_url":"https://api.github.com/users/Minions-E/following{/other_user}","gists_url":"https://api.github.com/users/Minions-E/gists{/gist_id}","starred_url":"https://api.github.com/users/Minions-E/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minions-E/subscriptions","organizations_url":"https://api.github.com/users/Minions-E/orgs","repos_url":"https://api.github.com/users/Minions-E/repos","events_url":"https://api.github.com/users/Minions-E/events{/privacy}","received_events_url":"https://api.github.com/users/Minions-E/received_events","type":"Organization","site_admin":false},"repo":{"id":129814449,"name":"devfund","full_name":"Minions-E/devfund","owner":{"login":"Minions-E","id":38443866,"avatar_url":"https://avatars2.githubusercontent.com/u/38443866?v=4","gravatar_id":"","url":"https://api.github.com/users/Minions-E","html_url":"https://github.com/Minions-E","followers_url":"https://api.github.com/users/Minions-E/followers","following_url":"https://api.github.com/users/Minions-E/following{/other_user}","gists_url":"https://api.github.com/users/Minions-E/gists{/gist_id}","starred_url":"https://api.github.com/users/Minions-E/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Minions-E/subscriptions","organizations_url":"https://api.github.com/users/Minions-E/orgs","repos_url":"https://api.github.com/users/Minions-E/repos","events_url":"https://api.github.com/users/Minions-E/events{/privacy}","received_events_url":"https://api.github.com/users/Minions-E/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Minions-E/devfund","description":null,"fork":false,"url":"https://api.github.com/repos/Minions-E/devfund","forks_url":"https://api.github.com/repos/Minions-E/devfund/forks","keys_url":"https://api.github.com/repos/Minions-E/devfund/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Minions-E/devfund/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Minions-E/devfund/teams","hooks_url":"https://api.github.com/repos/Minions-E/devfund/hooks","issue_events_url":"https://api.github.com/repos/Minions-E/devfund/issues/events{/number}","events_url":"https://api.github.com/repos/Minions-E/devfund/events","assignees_url":"https://api.github.com/repos/Minions-E/devfund/assignees{/user}","branches_url":"https://api.github.com/repos/Minions-E/devfund/branches{/branch}","tags_url":"https://api.github.com/repos/Minions-E/devfund/tags","blobs_url":"https://api.github.com/repos/Minions-E/devfund/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Minions-E/devfund/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Minions-E/devfund/git/refs{/sha}","trees_url":"https://api.github.com/repos/Minions-E/devfund/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Minions-E/devfund/statuses/{sha}","languages_url":"https://api.github.com/repos/Minions-E/devfund/languages","stargazers_url":"https://api.github.com/repos/Minions-E/devfund/stargazers","contributors_url":"https://api.github.com/repos/Minions-E/devfund/contributors","subscribers_url":"https://api.github.com/repos/Minions-E/devfund/subscribers","subscription_url":"https://api.github.com/repos/Minions-E/devfund/subscription","commits_url":"https://api.github.com/repos/Minions-E/devfund/commits{/sha}","git_commits_url":"https://api.github.com/repos/Minions-E/devfund/git/commits{/sha}","comments_url":"https://api.github.com/repos/Minions-E/devfund/comments{/number}","issue_comment_url":"https://api.github.com/repos/Minions-E/devfund/issues/comments{/number}","contents_url":"https://api.github.com/repos/Minions-E/devfund/contents/{+path}","compare_url":"https://api.github.com/repos/Minions-E/devfund/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Minions-E/devfund/merges","archive_url":"https://api.github.com/repos/Minions-E/devfund/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Minions-E/devfund/downloads","issues_url":"https://api.github.com/repos/Minions-E/devfund/issues{/number}","pulls_url":"https://api.github.com/repos/Minions-E/devfund/pulls{/number}","milestones_url":"https://api.github.com/repos/Minions-E/devfund/milestones{/number}","notifications_url":"https://api.github.com/repos/Minions-E/devfund/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Minions-E/devfund/labels{/name}","releases_url":"https://api.github.com/repos/Minions-E/devfund/releases{/id}","deployments_url":"https://api.github.com/repos/Minions-E/devfund/deployments","created_at":"2018-04-16T22:40:02Z","updated_at":"2018-05-18T01:44:09Z","pushed_at":"2018-05-20T20:38:19Z","git_url":"git://github.com/Minions-E/devfund.git","ssh_url":"git@github.com:Minions-E/devfund.git","clone_url":"https://github.com/Minions-E/devfund.git","svn_url":"https://github.com/Minions-E/devfund","homepage":null,"size":101,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":4,"open_issues":12,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/Minions-E/devfund/pulls/15"},"html":{"href":"https://github.com/Minions-E/devfund/pull/15"},"issue":{"href":"https://api.github.com/repos/Minions-E/devfund/issues/15"},"comments":{"href":"https://api.github.com/repos/Minions-E/devfund/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/Minions-E/devfund/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/Minions-E/devfund/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Minions-E/devfund/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/Minions-E/devfund/statuses/631550bb0cb520fc0c292403ea24080215ba6e88"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"carledriss"}}