{"action":"created","comment":{"url":"https://api.github.com/repos/next-step/java-racingcar/pulls/comments/230614384","pull_request_review_id":171389928,"id":230614384,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDYxNDM4NA==","diff_hunk":"@@ -0,0 +1,79 @@\n+package racing;\n+\n+import racing.rule.Forward;\n+\n+import java.util.Objects;\n+\n+public class Car {\n+\n+    /**\n+     * 위치 기본값\n+     */\n+    private static final int DEFAULT_POSITION = 0;\n+\n+    /**\n+     * 위치\n+     */\n+    private int position;\n+\n+    /**\n+     * 위치 가져오기\n+     *\n+     * @return int\n+     */\n+    public int getPosition() {\n+        return position;\n+    }\n+\n+    /**\n+     * 생성자\n+     */","path":"src/main/java/racing/Car.java","position":30,"original_position":30,"commit_id":"674200e1bac33afdb4cc8ca1a7033dc6eb8c8b66","original_commit_id":"674200e1bac33afdb4cc8ca1a7033dc6eb8c8b66","user":{"login":"javajigi","id":520500,"node_id":"MDQ6VXNlcjUyMDUwMA==","avatar_url":"https://avatars2.githubusercontent.com/u/520500?v=4","gravatar_id":"","url":"https://api.github.com/users/javajigi","html_url":"https://github.com/javajigi","followers_url":"https://api.github.com/users/javajigi/followers","following_url":"https://api.github.com/users/javajigi/following{/other_user}","gists_url":"https://api.github.com/users/javajigi/gists{/gist_id}","starred_url":"https://api.github.com/users/javajigi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javajigi/subscriptions","organizations_url":"https://api.github.com/users/javajigi/orgs","repos_url":"https://api.github.com/users/javajigi/repos","events_url":"https://api.github.com/users/javajigi/events{/privacy}","received_events_url":"https://api.github.com/users/javajigi/received_events","type":"User","site_admin":false},"body":"특별히 의미없는 주석이 너무 많음.\r\n모든 코드에 주석을 추가하지 말고 정말 필요한 부분에 대해서만 주석을 추가한다.","created_at":"2018-11-05T01:02:10Z","updated_at":"2018-11-05T01:06:07Z","html_url":"https://github.com/next-step/java-racingcar/pull/53#discussion_r230614384","pull_request_url":"https://api.github.com/repos/next-step/java-racingcar/pulls/53","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/next-step/java-racingcar/pulls/comments/230614384"},"html":{"href":"https://github.com/next-step/java-racingcar/pull/53#discussion_r230614384"},"pull_request":{"href":"https://api.github.com/repos/next-step/java-racingcar/pulls/53"}}},"pull_request":{"url":"https://api.github.com/repos/next-step/java-racingcar/pulls/53","id":228189068,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI4MTg5MDY4","html_url":"https://github.com/next-step/java-racingcar/pull/53","diff_url":"https://github.com/next-step/java-racingcar/pull/53.diff","patch_url":"https://github.com/next-step/java-racingcar/pull/53.patch","issue_url":"https://api.github.com/repos/next-step/java-racingcar/issues/53","number":53,"state":"open","locked":false,"title":"문자열 계산기, 자동차 경주 1 단계 구현","user":{"login":"ninezero90hy","id":41019113,"node_id":"MDQ6VXNlcjQxMDE5MTEz","avatar_url":"https://avatars2.githubusercontent.com/u/41019113?v=4","gravatar_id":"","url":"https://api.github.com/users/ninezero90hy","html_url":"https://github.com/ninezero90hy","followers_url":"https://api.github.com/users/ninezero90hy/followers","following_url":"https://api.github.com/users/ninezero90hy/following{/other_user}","gists_url":"https://api.github.com/users/ninezero90hy/gists{/gist_id}","starred_url":"https://api.github.com/users/ninezero90hy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninezero90hy/subscriptions","organizations_url":"https://api.github.com/users/ninezero90hy/orgs","repos_url":"https://api.github.com/users/ninezero90hy/repos","events_url":"https://api.github.com/users/ninezero90hy/events{/privacy}","received_events_url":"https://api.github.com/users/ninezero90hy/received_events","type":"User","site_admin":false},"body":"자동차가 원하는 만큼 이동하는 것을 테스트하고 싶은데\r\n**요구사항 중에 전진하는 조건은 0에서 9 사이에서 random 값을 구한 후 random 값이 4 이상일 경우이다.**\r\n이 부분을 랜덤으로 처리하다 보니 어떻게 테스트 코드를 작성해야 할 지 모르겠습니다.","created_at":"2018-11-04T17:03:31Z","updated_at":"2018-11-05T01:06:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6efa80381a8e9fc36790567a818e37dc66dd4c67","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/next-step/java-racingcar/pulls/53/commits","review_comments_url":"https://api.github.com/repos/next-step/java-racingcar/pulls/53/comments","review_comment_url":"https://api.github.com/repos/next-step/java-racingcar/pulls/comments{/number}","comments_url":"https://api.github.com/repos/next-step/java-racingcar/issues/53/comments","statuses_url":"https://api.github.com/repos/next-step/java-racingcar/statuses/674200e1bac33afdb4cc8ca1a7033dc6eb8c8b66","head":{"label":"ninezero90hy:step1","ref":"step1","sha":"674200e1bac33afdb4cc8ca1a7033dc6eb8c8b66","user":{"login":"ninezero90hy","id":41019113,"node_id":"MDQ6VXNlcjQxMDE5MTEz","avatar_url":"https://avatars2.githubusercontent.com/u/41019113?v=4","gravatar_id":"","url":"https://api.github.com/users/ninezero90hy","html_url":"https://github.com/ninezero90hy","followers_url":"https://api.github.com/users/ninezero90hy/followers","following_url":"https://api.github.com/users/ninezero90hy/following{/other_user}","gists_url":"https://api.github.com/users/ninezero90hy/gists{/gist_id}","starred_url":"https://api.github.com/users/ninezero90hy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninezero90hy/subscriptions","organizations_url":"https://api.github.com/users/ninezero90hy/orgs","repos_url":"https://api.github.com/users/ninezero90hy/repos","events_url":"https://api.github.com/users/ninezero90hy/events{/privacy}","received_events_url":"https://api.github.com/users/ninezero90hy/received_events","type":"User","site_admin":false},"repo":{"id":155859274,"node_id":"MDEwOlJlcG9zaXRvcnkxNTU4NTkyNzQ=","name":"java-racingcar","full_name":"ninezero90hy/java-racingcar","private":false,"owner":{"login":"ninezero90hy","id":41019113,"node_id":"MDQ6VXNlcjQxMDE5MTEz","avatar_url":"https://avatars2.githubusercontent.com/u/41019113?v=4","gravatar_id":"","url":"https://api.github.com/users/ninezero90hy","html_url":"https://github.com/ninezero90hy","followers_url":"https://api.github.com/users/ninezero90hy/followers","following_url":"https://api.github.com/users/ninezero90hy/following{/other_user}","gists_url":"https://api.github.com/users/ninezero90hy/gists{/gist_id}","starred_url":"https://api.github.com/users/ninezero90hy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ninezero90hy/subscriptions","organizations_url":"https://api.github.com/users/ninezero90hy/orgs","repos_url":"https://api.github.com/users/ninezero90hy/repos","events_url":"https://api.github.com/users/ninezero90hy/events{/privacy}","received_events_url":"https://api.github.com/users/ninezero90hy/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ninezero90hy/java-racingcar","description":"자동차 경주용 게임을 관리하는 저장소","fork":true,"url":"https://api.github.com/repos/ninezero90hy/java-racingcar","forks_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/forks","keys_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/teams","hooks_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/hooks","issue_events_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/issues/events{/number}","events_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/events","assignees_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/assignees{/user}","branches_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/branches{/branch}","tags_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/tags","blobs_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/git/refs{/sha}","trees_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/statuses/{sha}","languages_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/languages","stargazers_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/stargazers","contributors_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/contributors","subscribers_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/subscribers","subscription_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/subscription","commits_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/commits{/sha}","git_commits_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/git/commits{/sha}","comments_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/comments{/number}","issue_comment_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/issues/comments{/number}","contents_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/contents/{+path}","compare_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/merges","archive_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/downloads","issues_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/issues{/number}","pulls_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/pulls{/number}","milestones_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/milestones{/number}","notifications_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/labels{/name}","releases_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/releases{/id}","deployments_url":"https://api.github.com/repos/ninezero90hy/java-racingcar/deployments","created_at":"2018-11-02T11:52:41Z","updated_at":"2018-11-02T11:52:43Z","pushed_at":"2018-11-04T16:55:03Z","git_url":"git://github.com/ninezero90hy/java-racingcar.git","ssh_url":"git@github.com:ninezero90hy/java-racingcar.git","clone_url":"https://github.com/ninezero90hy/java-racingcar.git","svn_url":"https://github.com/ninezero90hy/java-racingcar","homepage":null,"size":107,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"next-step:ninezero90hy","ref":"ninezero90hy","sha":"887ce975bd26e40327cf9b5d3c3f9040ddb91972","user":{"login":"next-step","id":25274995,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1Mjc0OTk1","avatar_url":"https://avatars0.githubusercontent.com/u/25274995?v=4","gravatar_id":"","url":"https://api.github.com/users/next-step","html_url":"https://github.com/next-step","followers_url":"https://api.github.com/users/next-step/followers","following_url":"https://api.github.com/users/next-step/following{/other_user}","gists_url":"https://api.github.com/users/next-step/gists{/gist_id}","starred_url":"https://api.github.com/users/next-step/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/next-step/subscriptions","organizations_url":"https://api.github.com/users/next-step/orgs","repos_url":"https://api.github.com/users/next-step/repos","events_url":"https://api.github.com/users/next-step/events{/privacy}","received_events_url":"https://api.github.com/users/next-step/received_events","type":"Organization","site_admin":false},"repo":{"id":152044195,"node_id":"MDEwOlJlcG9zaXRvcnkxNTIwNDQxOTU=","name":"java-racingcar","full_name":"next-step/java-racingcar","private":false,"owner":{"login":"next-step","id":25274995,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1Mjc0OTk1","avatar_url":"https://avatars0.githubusercontent.com/u/25274995?v=4","gravatar_id":"","url":"https://api.github.com/users/next-step","html_url":"https://github.com/next-step","followers_url":"https://api.github.com/users/next-step/followers","following_url":"https://api.github.com/users/next-step/following{/other_user}","gists_url":"https://api.github.com/users/next-step/gists{/gist_id}","starred_url":"https://api.github.com/users/next-step/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/next-step/subscriptions","organizations_url":"https://api.github.com/users/next-step/orgs","repos_url":"https://api.github.com/users/next-step/repos","events_url":"https://api.github.com/users/next-step/events{/privacy}","received_events_url":"https://api.github.com/users/next-step/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/next-step/java-racingcar","description":"자동차 경주용 게임을 관리하는 저장소","fork":false,"url":"https://api.github.com/repos/next-step/java-racingcar","forks_url":"https://api.github.com/repos/next-step/java-racingcar/forks","keys_url":"https://api.github.com/repos/next-step/java-racingcar/keys{/key_id}","collaborators_url":"https://api.github.com/repos/next-step/java-racingcar/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/next-step/java-racingcar/teams","hooks_url":"https://api.github.com/repos/next-step/java-racingcar/hooks","issue_events_url":"https://api.github.com/repos/next-step/java-racingcar/issues/events{/number}","events_url":"https://api.github.com/repos/next-step/java-racingcar/events","assignees_url":"https://api.github.com/repos/next-step/java-racingcar/assignees{/user}","branches_url":"https://api.github.com/repos/next-step/java-racingcar/branches{/branch}","tags_url":"https://api.github.com/repos/next-step/java-racingcar/tags","blobs_url":"https://api.github.com/repos/next-step/java-racingcar/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/next-step/java-racingcar/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/next-step/java-racingcar/git/refs{/sha}","trees_url":"https://api.github.com/repos/next-step/java-racingcar/git/trees{/sha}","statuses_url":"https://api.github.com/repos/next-step/java-racingcar/statuses/{sha}","languages_url":"https://api.github.com/repos/next-step/java-racingcar/languages","stargazers_url":"https://api.github.com/repos/next-step/java-racingcar/stargazers","contributors_url":"https://api.github.com/repos/next-step/java-racingcar/contributors","subscribers_url":"https://api.github.com/repos/next-step/java-racingcar/subscribers","subscription_url":"https://api.github.com/repos/next-step/java-racingcar/subscription","commits_url":"https://api.github.com/repos/next-step/java-racingcar/commits{/sha}","git_commits_url":"https://api.github.com/repos/next-step/java-racingcar/git/commits{/sha}","comments_url":"https://api.github.com/repos/next-step/java-racingcar/comments{/number}","issue_comment_url":"https://api.github.com/repos/next-step/java-racingcar/issues/comments{/number}","contents_url":"https://api.github.com/repos/next-step/java-racingcar/contents/{+path}","compare_url":"https://api.github.com/repos/next-step/java-racingcar/compare/{base}...{head}","merges_url":"https://api.github.com/repos/next-step/java-racingcar/merges","archive_url":"https://api.github.com/repos/next-step/java-racingcar/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/next-step/java-racingcar/downloads","issues_url":"https://api.github.com/repos/next-step/java-racingcar/issues{/number}","pulls_url":"https://api.github.com/repos/next-step/java-racingcar/pulls{/number}","milestones_url":"https://api.github.com/repos/next-step/java-racingcar/milestones{/number}","notifications_url":"https://api.github.com/repos/next-step/java-racingcar/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/next-step/java-racingcar/labels{/name}","releases_url":"https://api.github.com/repos/next-step/java-racingcar/releases{/id}","deployments_url":"https://api.github.com/repos/next-step/java-racingcar/deployments","created_at":"2018-10-08T08:24:32Z","updated_at":"2018-11-04T12:15:19Z","pushed_at":"2018-11-05T00:45:28Z","git_url":"git://github.com/next-step/java-racingcar.git","ssh_url":"git@github.com:next-step/java-racingcar.git","clone_url":"https://github.com/next-step/java-racingcar.git","svn_url":"https://github.com/next-step/java-racingcar","homepage":null,"size":181,"stargazers_count":8,"watchers_count":8,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":24,"open_issues":11,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/next-step/java-racingcar/pulls/53"},"html":{"href":"https://github.com/next-step/java-racingcar/pull/53"},"issue":{"href":"https://api.github.com/repos/next-step/java-racingcar/issues/53"},"comments":{"href":"https://api.github.com/repos/next-step/java-racingcar/issues/53/comments"},"review_comments":{"href":"https://api.github.com/repos/next-step/java-racingcar/pulls/53/comments"},"review_comment":{"href":"https://api.github.com/repos/next-step/java-racingcar/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/next-step/java-racingcar/pulls/53/commits"},"statuses":{"href":"https://api.github.com/repos/next-step/java-racingcar/statuses/674200e1bac33afdb4cc8ca1a7033dc6eb8c8b66"}},"author_association":"NONE"}}
{"actor":{"display_login":"javajigi"}}