{"action":"created","comment":{"url":"https://api.github.com/repos/victoriafomina/Homework/pulls/comments/230717781","pull_request_review_id":171509390,"id":230717781,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDcxNzc4MQ==","diff_hunk":"@@ -0,0 +1,107 @@\n+#define _CRT_SECURE_NO_WARNINGS\n+#include \"Phonebook.h\"\n+#include <stdio.h>\n+\n+#include <iostream>\n+\n+void tests();\n+void menu();\n+\n+int main()\n+{\n+\t// ������ �������������� ������ ��� ������������ ���� �����\n+\t// � ����� �� ����� �������� ������� ����� - ��������� ������\n+\t\n+\tmenu();\n+\n+\tsystem(\"pause\");\n+\treturn 0;\n+}\n+\n+void tests()\n+{\tPhonebook p;\n+\tSubscriber s1(\"Ololo\", \"1234\");\n+\tSubscriber s2(\"Tralala\", \"567\");\n+\tSubscriber s3(\"Lalala\", \"900\");\n+\tp.addNote(s1);\n+\tp.addNote(s2);\n+\tp.addNote(s3);\n+\tp.findNumberByName(\"Tralala\");\n+\tprintf(\"Test passed if written: Tralala 567\\n\");","path":"hw4/Phonebook/Phonebook/main.cpp","position":30,"original_position":30,"commit_id":"9aec179dec21a0f7eeacb09fb4feca46ab8e9e36","original_commit_id":"9aec179dec21a0f7eeacb09fb4feca46ab8e9e36","user":{"login":"yurii-litvinov","id":706768,"node_id":"MDQ6VXNlcjcwNjc2OA==","avatar_url":"https://avatars3.githubusercontent.com/u/706768?v=4","gravatar_id":"","url":"https://api.github.com/users/yurii-litvinov","html_url":"https://github.com/yurii-litvinov","followers_url":"https://api.github.com/users/yurii-litvinov/followers","following_url":"https://api.github.com/users/yurii-litvinov/following{/other_user}","gists_url":"https://api.github.com/users/yurii-litvinov/gists{/gist_id}","starred_url":"https://api.github.com/users/yurii-litvinov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yurii-litvinov/subscriptions","organizations_url":"https://api.github.com/users/yurii-litvinov/orgs","repos_url":"https://api.github.com/users/yurii-litvinov/repos","events_url":"https://api.github.com/users/yurii-litvinov/events{/privacy}","received_events_url":"https://api.github.com/users/yurii-litvinov/received_events","type":"User","site_admin":false},"body":"Ну лучше бы возвращать массив результатов и проверять автоматически. Тесты по идее должны выполняться при каждой сборке, и никто не будет специально сидеть и проверять, что всё ок.","created_at":"2018-11-05T11:30:25Z","updated_at":"2018-11-05T11:31:47Z","html_url":"https://github.com/victoriafomina/Homework/pull/5#discussion_r230717781","pull_request_url":"https://api.github.com/repos/victoriafomina/Homework/pulls/5","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/victoriafomina/Homework/pulls/comments/230717781"},"html":{"href":"https://github.com/victoriafomina/Homework/pull/5#discussion_r230717781"},"pull_request":{"href":"https://api.github.com/repos/victoriafomina/Homework/pulls/5"}}},"pull_request":{"url":"https://api.github.com/repos/victoriafomina/Homework/pulls/5","id":222666688,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNjY2Njg4","html_url":"https://github.com/victoriafomina/Homework/pull/5","diff_url":"https://github.com/victoriafomina/Homework/pull/5.diff","patch_url":"https://github.com/victoriafomina/Homework/pull/5.patch","issue_url":"https://api.github.com/repos/victoriafomina/Homework/issues/5","number":5,"state":"open","locked":false,"title":"Phonebook","user":{"login":"victoriafomina","id":32179813,"node_id":"MDQ6VXNlcjMyMTc5ODEz","avatar_url":"https://avatars3.githubusercontent.com/u/32179813?v=4","gravatar_id":"","url":"https://api.github.com/users/victoriafomina","html_url":"https://github.com/victoriafomina","followers_url":"https://api.github.com/users/victoriafomina/followers","following_url":"https://api.github.com/users/victoriafomina/following{/other_user}","gists_url":"https://api.github.com/users/victoriafomina/gists{/gist_id}","starred_url":"https://api.github.com/users/victoriafomina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victoriafomina/subscriptions","organizations_url":"https://api.github.com/users/victoriafomina/orgs","repos_url":"https://api.github.com/users/victoriafomina/repos","events_url":"https://api.github.com/users/victoriafomina/events{/privacy}","received_events_url":"https://api.github.com/users/victoriafomina/received_events","type":"User","site_admin":false},"body":"Program phonebook does these things:\r\n0 - exit\r\n1 - add note (name and phone number)\r\n2 - print all notes\r\n3 - find number by name\r\n4 - find name by number\r\n5 - save current data\r\n","created_at":"2018-10-13T18:19:24Z","updated_at":"2018-11-05T11:31:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"1d19bd6c94a7089efa4761f1ec33c5e599a27c54","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/victoriafomina/Homework/pulls/5/commits","review_comments_url":"https://api.github.com/repos/victoriafomina/Homework/pulls/5/comments","review_comment_url":"https://api.github.com/repos/victoriafomina/Homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/victoriafomina/Homework/issues/5/comments","statuses_url":"https://api.github.com/repos/victoriafomina/Homework/statuses/9aec179dec21a0f7eeacb09fb4feca46ab8e9e36","head":{"label":"victoriafomina:Phonebook","ref":"Phonebook","sha":"9aec179dec21a0f7eeacb09fb4feca46ab8e9e36","user":{"login":"victoriafomina","id":32179813,"node_id":"MDQ6VXNlcjMyMTc5ODEz","avatar_url":"https://avatars3.githubusercontent.com/u/32179813?v=4","gravatar_id":"","url":"https://api.github.com/users/victoriafomina","html_url":"https://github.com/victoriafomina","followers_url":"https://api.github.com/users/victoriafomina/followers","following_url":"https://api.github.com/users/victoriafomina/following{/other_user}","gists_url":"https://api.github.com/users/victoriafomina/gists{/gist_id}","starred_url":"https://api.github.com/users/victoriafomina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victoriafomina/subscriptions","organizations_url":"https://api.github.com/users/victoriafomina/orgs","repos_url":"https://api.github.com/users/victoriafomina/repos","events_url":"https://api.github.com/users/victoriafomina/events{/privacy}","received_events_url":"https://api.github.com/users/victoriafomina/received_events","type":"User","site_admin":false},"repo":{"id":150870315,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA4NzAzMTU=","name":"Homework","full_name":"victoriafomina/Homework","private":false,"owner":{"login":"victoriafomina","id":32179813,"node_id":"MDQ6VXNlcjMyMTc5ODEz","avatar_url":"https://avatars3.githubusercontent.com/u/32179813?v=4","gravatar_id":"","url":"https://api.github.com/users/victoriafomina","html_url":"https://github.com/victoriafomina","followers_url":"https://api.github.com/users/victoriafomina/followers","following_url":"https://api.github.com/users/victoriafomina/following{/other_user}","gists_url":"https://api.github.com/users/victoriafomina/gists{/gist_id}","starred_url":"https://api.github.com/users/victoriafomina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victoriafomina/subscriptions","organizations_url":"https://api.github.com/users/victoriafomina/orgs","repos_url":"https://api.github.com/users/victoriafomina/repos","events_url":"https://api.github.com/users/victoriafomina/events{/privacy}","received_events_url":"https://api.github.com/users/victoriafomina/received_events","type":"User","site_admin":false},"html_url":"https://github.com/victoriafomina/Homework","description":null,"fork":false,"url":"https://api.github.com/repos/victoriafomina/Homework","forks_url":"https://api.github.com/repos/victoriafomina/Homework/forks","keys_url":"https://api.github.com/repos/victoriafomina/Homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/victoriafomina/Homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/victoriafomina/Homework/teams","hooks_url":"https://api.github.com/repos/victoriafomina/Homework/hooks","issue_events_url":"https://api.github.com/repos/victoriafomina/Homework/issues/events{/number}","events_url":"https://api.github.com/repos/victoriafomina/Homework/events","assignees_url":"https://api.github.com/repos/victoriafomina/Homework/assignees{/user}","branches_url":"https://api.github.com/repos/victoriafomina/Homework/branches{/branch}","tags_url":"https://api.github.com/repos/victoriafomina/Homework/tags","blobs_url":"https://api.github.com/repos/victoriafomina/Homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/victoriafomina/Homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/victoriafomina/Homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/victoriafomina/Homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/victoriafomina/Homework/statuses/{sha}","languages_url":"https://api.github.com/repos/victoriafomina/Homework/languages","stargazers_url":"https://api.github.com/repos/victoriafomina/Homework/stargazers","contributors_url":"https://api.github.com/repos/victoriafomina/Homework/contributors","subscribers_url":"https://api.github.com/repos/victoriafomina/Homework/subscribers","subscription_url":"https://api.github.com/repos/victoriafomina/Homework/subscription","commits_url":"https://api.github.com/repos/victoriafomina/Homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/victoriafomina/Homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/victoriafomina/Homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/victoriafomina/Homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/victoriafomina/Homework/contents/{+path}","compare_url":"https://api.github.com/repos/victoriafomina/Homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/victoriafomina/Homework/merges","archive_url":"https://api.github.com/repos/victoriafomina/Homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/victoriafomina/Homework/downloads","issues_url":"https://api.github.com/repos/victoriafomina/Homework/issues{/number}","pulls_url":"https://api.github.com/repos/victoriafomina/Homework/pulls{/number}","milestones_url":"https://api.github.com/repos/victoriafomina/Homework/milestones{/number}","notifications_url":"https://api.github.com/repos/victoriafomina/Homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/victoriafomina/Homework/labels{/name}","releases_url":"https://api.github.com/repos/victoriafomina/Homework/releases{/id}","deployments_url":"https://api.github.com/repos/victoriafomina/Homework/deployments","created_at":"2018-09-29T14:08:50Z","updated_at":"2018-11-02T19:42:08Z","pushed_at":"2018-11-04T00:16:34Z","git_url":"git://github.com/victoriafomina/Homework.git","ssh_url":"git@github.com:victoriafomina/Homework.git","clone_url":"https://github.com/victoriafomina/Homework.git","svn_url":"https://github.com/victoriafomina/Homework","homepage":null,"size":51065,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"victoriafomina:master","ref":"master","sha":"946dc234bd59483e4229d782673e37d645b8f3e3","user":{"login":"victoriafomina","id":32179813,"node_id":"MDQ6VXNlcjMyMTc5ODEz","avatar_url":"https://avatars3.githubusercontent.com/u/32179813?v=4","gravatar_id":"","url":"https://api.github.com/users/victoriafomina","html_url":"https://github.com/victoriafomina","followers_url":"https://api.github.com/users/victoriafomina/followers","following_url":"https://api.github.com/users/victoriafomina/following{/other_user}","gists_url":"https://api.github.com/users/victoriafomina/gists{/gist_id}","starred_url":"https://api.github.com/users/victoriafomina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victoriafomina/subscriptions","organizations_url":"https://api.github.com/users/victoriafomina/orgs","repos_url":"https://api.github.com/users/victoriafomina/repos","events_url":"https://api.github.com/users/victoriafomina/events{/privacy}","received_events_url":"https://api.github.com/users/victoriafomina/received_events","type":"User","site_admin":false},"repo":{"id":150870315,"node_id":"MDEwOlJlcG9zaXRvcnkxNTA4NzAzMTU=","name":"Homework","full_name":"victoriafomina/Homework","private":false,"owner":{"login":"victoriafomina","id":32179813,"node_id":"MDQ6VXNlcjMyMTc5ODEz","avatar_url":"https://avatars3.githubusercontent.com/u/32179813?v=4","gravatar_id":"","url":"https://api.github.com/users/victoriafomina","html_url":"https://github.com/victoriafomina","followers_url":"https://api.github.com/users/victoriafomina/followers","following_url":"https://api.github.com/users/victoriafomina/following{/other_user}","gists_url":"https://api.github.com/users/victoriafomina/gists{/gist_id}","starred_url":"https://api.github.com/users/victoriafomina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/victoriafomina/subscriptions","organizations_url":"https://api.github.com/users/victoriafomina/orgs","repos_url":"https://api.github.com/users/victoriafomina/repos","events_url":"https://api.github.com/users/victoriafomina/events{/privacy}","received_events_url":"https://api.github.com/users/victoriafomina/received_events","type":"User","site_admin":false},"html_url":"https://github.com/victoriafomina/Homework","description":null,"fork":false,"url":"https://api.github.com/repos/victoriafomina/Homework","forks_url":"https://api.github.com/repos/victoriafomina/Homework/forks","keys_url":"https://api.github.com/repos/victoriafomina/Homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/victoriafomina/Homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/victoriafomina/Homework/teams","hooks_url":"https://api.github.com/repos/victoriafomina/Homework/hooks","issue_events_url":"https://api.github.com/repos/victoriafomina/Homework/issues/events{/number}","events_url":"https://api.github.com/repos/victoriafomina/Homework/events","assignees_url":"https://api.github.com/repos/victoriafomina/Homework/assignees{/user}","branches_url":"https://api.github.com/repos/victoriafomina/Homework/branches{/branch}","tags_url":"https://api.github.com/repos/victoriafomina/Homework/tags","blobs_url":"https://api.github.com/repos/victoriafomina/Homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/victoriafomina/Homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/victoriafomina/Homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/victoriafomina/Homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/victoriafomina/Homework/statuses/{sha}","languages_url":"https://api.github.com/repos/victoriafomina/Homework/languages","stargazers_url":"https://api.github.com/repos/victoriafomina/Homework/stargazers","contributors_url":"https://api.github.com/repos/victoriafomina/Homework/contributors","subscribers_url":"https://api.github.com/repos/victoriafomina/Homework/subscribers","subscription_url":"https://api.github.com/repos/victoriafomina/Homework/subscription","commits_url":"https://api.github.com/repos/victoriafomina/Homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/victoriafomina/Homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/victoriafomina/Homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/victoriafomina/Homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/victoriafomina/Homework/contents/{+path}","compare_url":"https://api.github.com/repos/victoriafomina/Homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/victoriafomina/Homework/merges","archive_url":"https://api.github.com/repos/victoriafomina/Homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/victoriafomina/Homework/downloads","issues_url":"https://api.github.com/repos/victoriafomina/Homework/issues{/number}","pulls_url":"https://api.github.com/repos/victoriafomina/Homework/pulls{/number}","milestones_url":"https://api.github.com/repos/victoriafomina/Homework/milestones{/number}","notifications_url":"https://api.github.com/repos/victoriafomina/Homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/victoriafomina/Homework/labels{/name}","releases_url":"https://api.github.com/repos/victoriafomina/Homework/releases{/id}","deployments_url":"https://api.github.com/repos/victoriafomina/Homework/deployments","created_at":"2018-09-29T14:08:50Z","updated_at":"2018-11-02T19:42:08Z","pushed_at":"2018-11-04T00:16:34Z","git_url":"git://github.com/victoriafomina/Homework.git","ssh_url":"git@github.com:victoriafomina/Homework.git","clone_url":"https://github.com/victoriafomina/Homework.git","svn_url":"https://github.com/victoriafomina/Homework","homepage":null,"size":51065,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":11,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0","node_id":"MDc6TGljZW5zZTI="},"forks":1,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/victoriafomina/Homework/pulls/5"},"html":{"href":"https://github.com/victoriafomina/Homework/pull/5"},"issue":{"href":"https://api.github.com/repos/victoriafomina/Homework/issues/5"},"comments":{"href":"https://api.github.com/repos/victoriafomina/Homework/issues/5/comments"},"review_comments":{"href":"https://api.github.com/repos/victoriafomina/Homework/pulls/5/comments"},"review_comment":{"href":"https://api.github.com/repos/victoriafomina/Homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/victoriafomina/Homework/pulls/5/commits"},"statuses":{"href":"https://api.github.com/repos/victoriafomina/Homework/statuses/9aec179dec21a0f7eeacb09fb4feca46ab8e9e36"}},"author_association":"OWNER"}}
{"actor":{"display_login":"yurii-litvinov"}}