{"action":"created","comment":{"url":"https://api.github.com/repos/ivanershov51/homework/pulls/comments/47366592","id":47366592,"diff_hunk":"@@ -0,0 +1,21 @@\n+#pragma once\n+#include <QQueue>\n+#include \"computer.h\"\n+\n+\n+/// Computer with non-random infection process. NetworkTest helper class\n+class ComputerForTesting : public Computer\n+{\n+public:\n+    ComputerForTesting(OS os = OS::custom, bool infected_ = false) : Computer(os, infected_) {}\n+\n+    ComputerForTesting(QString customOSName, double infectionProbabilty, bool infected_ = false) :","path":"semester_3/02/computerfortesting.h","position":12,"original_position":12,"commit_id":"ace8533d5030bfb9f09a95f2b67fe9008cd6b01a","original_commit_id":"ace8533d5030bfb9f09a95f2b67fe9008cd6b01a","user":{"login":"jzuken","id":705678,"avatar_url":"https://avatars.githubusercontent.com/u/705678?v=3","gravatar_id":"","url":"https://api.github.com/users/jzuken","html_url":"https://github.com/jzuken","followers_url":"https://api.github.com/users/jzuken/followers","following_url":"https://api.github.com/users/jzuken/following{/other_user}","gists_url":"https://api.github.com/users/jzuken/gists{/gist_id}","starred_url":"https://api.github.com/users/jzuken/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jzuken/subscriptions","organizations_url":"https://api.github.com/users/jzuken/orgs","repos_url":"https://api.github.com/users/jzuken/repos","events_url":"https://api.github.com/users/jzuken/events{/privacy}","received_events_url":"https://api.github.com/users/jzuken/received_events","type":"User","site_admin":false},"body":"и тут тоже","created_at":"2015-12-11T15:29:56Z","updated_at":"2015-12-11T15:29:56Z","html_url":"https://github.com/ivanershov51/homework/pull/32#discussion_r47366592","pull_request_url":"https://api.github.com/repos/ivanershov51/homework/pulls/32","_links":{"self":{"href":"https://api.github.com/repos/ivanershov51/homework/pulls/comments/47366592"},"html":{"href":"https://github.com/ivanershov51/homework/pull/32#discussion_r47366592"},"pull_request":{"href":"https://api.github.com/repos/ivanershov51/homework/pulls/32"}}},"pull_request":{"url":"https://api.github.com/repos/ivanershov51/homework/pulls/32","id":48676246,"html_url":"https://github.com/ivanershov51/homework/pull/32","diff_url":"https://github.com/ivanershov51/homework/pull/32.diff","patch_url":"https://github.com/ivanershov51/homework/pull/32.patch","issue_url":"https://api.github.com/repos/ivanershov51/homework/issues/32","number":32,"state":"open","locked":false,"title":"2","user":{"login":"ivanershov51","id":11010943,"avatar_url":"https://avatars.githubusercontent.com/u/11010943?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanershov51","html_url":"https://github.com/ivanershov51","followers_url":"https://api.github.com/users/ivanershov51/followers","following_url":"https://api.github.com/users/ivanershov51/following{/other_user}","gists_url":"https://api.github.com/users/ivanershov51/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanershov51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanershov51/subscriptions","organizations_url":"https://api.github.com/users/ivanershov51/orgs","repos_url":"https://api.github.com/users/ivanershov51/repos","events_url":"https://api.github.com/users/ivanershov51/events{/privacy}","received_events_url":"https://api.github.com/users/ivanershov51/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-10-25T11:01:20Z","updated_at":"2015-12-11T15:29:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5fca23b0fbe7ec2f3d35c0f7d6c73c2996ac1b68","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ivanershov51/homework/pulls/32/commits","review_comments_url":"https://api.github.com/repos/ivanershov51/homework/pulls/32/comments","review_comment_url":"https://api.github.com/repos/ivanershov51/homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ivanershov51/homework/issues/32/comments","statuses_url":"https://api.github.com/repos/ivanershov51/homework/statuses/ace8533d5030bfb9f09a95f2b67fe9008cd6b01a","head":{"label":"ivanershov51:2","ref":"2","sha":"ace8533d5030bfb9f09a95f2b67fe9008cd6b01a","user":{"login":"ivanershov51","id":11010943,"avatar_url":"https://avatars.githubusercontent.com/u/11010943?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanershov51","html_url":"https://github.com/ivanershov51","followers_url":"https://api.github.com/users/ivanershov51/followers","following_url":"https://api.github.com/users/ivanershov51/following{/other_user}","gists_url":"https://api.github.com/users/ivanershov51/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanershov51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanershov51/subscriptions","organizations_url":"https://api.github.com/users/ivanershov51/orgs","repos_url":"https://api.github.com/users/ivanershov51/repos","events_url":"https://api.github.com/users/ivanershov51/events{/privacy}","received_events_url":"https://api.github.com/users/ivanershov51/received_events","type":"User","site_admin":false},"repo":{"id":30812735,"name":"homework","full_name":"ivanershov51/homework","owner":{"login":"ivanershov51","id":11010943,"avatar_url":"https://avatars.githubusercontent.com/u/11010943?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanershov51","html_url":"https://github.com/ivanershov51","followers_url":"https://api.github.com/users/ivanershov51/followers","following_url":"https://api.github.com/users/ivanershov51/following{/other_user}","gists_url":"https://api.github.com/users/ivanershov51/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanershov51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanershov51/subscriptions","organizations_url":"https://api.github.com/users/ivanershov51/orgs","repos_url":"https://api.github.com/users/ivanershov51/repos","events_url":"https://api.github.com/users/ivanershov51/events{/privacy}","received_events_url":"https://api.github.com/users/ivanershov51/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ivanershov51/homework","description":"SPbSU homework. 2014 - ..","fork":false,"url":"https://api.github.com/repos/ivanershov51/homework","forks_url":"https://api.github.com/repos/ivanershov51/homework/forks","keys_url":"https://api.github.com/repos/ivanershov51/homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ivanershov51/homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ivanershov51/homework/teams","hooks_url":"https://api.github.com/repos/ivanershov51/homework/hooks","issue_events_url":"https://api.github.com/repos/ivanershov51/homework/issues/events{/number}","events_url":"https://api.github.com/repos/ivanershov51/homework/events","assignees_url":"https://api.github.com/repos/ivanershov51/homework/assignees{/user}","branches_url":"https://api.github.com/repos/ivanershov51/homework/branches{/branch}","tags_url":"https://api.github.com/repos/ivanershov51/homework/tags","blobs_url":"https://api.github.com/repos/ivanershov51/homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ivanershov51/homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ivanershov51/homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/ivanershov51/homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ivanershov51/homework/statuses/{sha}","languages_url":"https://api.github.com/repos/ivanershov51/homework/languages","stargazers_url":"https://api.github.com/repos/ivanershov51/homework/stargazers","contributors_url":"https://api.github.com/repos/ivanershov51/homework/contributors","subscribers_url":"https://api.github.com/repos/ivanershov51/homework/subscribers","subscription_url":"https://api.github.com/repos/ivanershov51/homework/subscription","commits_url":"https://api.github.com/repos/ivanershov51/homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/ivanershov51/homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/ivanershov51/homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/ivanershov51/homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/ivanershov51/homework/contents/{+path}","compare_url":"https://api.github.com/repos/ivanershov51/homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ivanershov51/homework/merges","archive_url":"https://api.github.com/repos/ivanershov51/homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ivanershov51/homework/downloads","issues_url":"https://api.github.com/repos/ivanershov51/homework/issues{/number}","pulls_url":"https://api.github.com/repos/ivanershov51/homework/pulls{/number}","milestones_url":"https://api.github.com/repos/ivanershov51/homework/milestones{/number}","notifications_url":"https://api.github.com/repos/ivanershov51/homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ivanershov51/homework/labels{/name}","releases_url":"https://api.github.com/repos/ivanershov51/homework/releases{/id}","created_at":"2015-02-15T00:02:32Z","updated_at":"2015-05-07T10:48:50Z","pushed_at":"2015-11-29T00:36:08Z","git_url":"git://github.com/ivanershov51/homework.git","ssh_url":"git@github.com:ivanershov51/homework.git","clone_url":"https://github.com/ivanershov51/homework.git","svn_url":"https://github.com/ivanershov51/homework","homepage":"http://hwproj.herokuapp.com/courses/1","size":789,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"ivanershov51:master","ref":"master","sha":"d36330d815a5ea6b1f707fe02770816935fff194","user":{"login":"ivanershov51","id":11010943,"avatar_url":"https://avatars.githubusercontent.com/u/11010943?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanershov51","html_url":"https://github.com/ivanershov51","followers_url":"https://api.github.com/users/ivanershov51/followers","following_url":"https://api.github.com/users/ivanershov51/following{/other_user}","gists_url":"https://api.github.com/users/ivanershov51/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanershov51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanershov51/subscriptions","organizations_url":"https://api.github.com/users/ivanershov51/orgs","repos_url":"https://api.github.com/users/ivanershov51/repos","events_url":"https://api.github.com/users/ivanershov51/events{/privacy}","received_events_url":"https://api.github.com/users/ivanershov51/received_events","type":"User","site_admin":false},"repo":{"id":30812735,"name":"homework","full_name":"ivanershov51/homework","owner":{"login":"ivanershov51","id":11010943,"avatar_url":"https://avatars.githubusercontent.com/u/11010943?v=3","gravatar_id":"","url":"https://api.github.com/users/ivanershov51","html_url":"https://github.com/ivanershov51","followers_url":"https://api.github.com/users/ivanershov51/followers","following_url":"https://api.github.com/users/ivanershov51/following{/other_user}","gists_url":"https://api.github.com/users/ivanershov51/gists{/gist_id}","starred_url":"https://api.github.com/users/ivanershov51/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivanershov51/subscriptions","organizations_url":"https://api.github.com/users/ivanershov51/orgs","repos_url":"https://api.github.com/users/ivanershov51/repos","events_url":"https://api.github.com/users/ivanershov51/events{/privacy}","received_events_url":"https://api.github.com/users/ivanershov51/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ivanershov51/homework","description":"SPbSU homework. 2014 - ..","fork":false,"url":"https://api.github.com/repos/ivanershov51/homework","forks_url":"https://api.github.com/repos/ivanershov51/homework/forks","keys_url":"https://api.github.com/repos/ivanershov51/homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ivanershov51/homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ivanershov51/homework/teams","hooks_url":"https://api.github.com/repos/ivanershov51/homework/hooks","issue_events_url":"https://api.github.com/repos/ivanershov51/homework/issues/events{/number}","events_url":"https://api.github.com/repos/ivanershov51/homework/events","assignees_url":"https://api.github.com/repos/ivanershov51/homework/assignees{/user}","branches_url":"https://api.github.com/repos/ivanershov51/homework/branches{/branch}","tags_url":"https://api.github.com/repos/ivanershov51/homework/tags","blobs_url":"https://api.github.com/repos/ivanershov51/homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ivanershov51/homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ivanershov51/homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/ivanershov51/homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ivanershov51/homework/statuses/{sha}","languages_url":"https://api.github.com/repos/ivanershov51/homework/languages","stargazers_url":"https://api.github.com/repos/ivanershov51/homework/stargazers","contributors_url":"https://api.github.com/repos/ivanershov51/homework/contributors","subscribers_url":"https://api.github.com/repos/ivanershov51/homework/subscribers","subscription_url":"https://api.github.com/repos/ivanershov51/homework/subscription","commits_url":"https://api.github.com/repos/ivanershov51/homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/ivanershov51/homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/ivanershov51/homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/ivanershov51/homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/ivanershov51/homework/contents/{+path}","compare_url":"https://api.github.com/repos/ivanershov51/homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ivanershov51/homework/merges","archive_url":"https://api.github.com/repos/ivanershov51/homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ivanershov51/homework/downloads","issues_url":"https://api.github.com/repos/ivanershov51/homework/issues{/number}","pulls_url":"https://api.github.com/repos/ivanershov51/homework/pulls{/number}","milestones_url":"https://api.github.com/repos/ivanershov51/homework/milestones{/number}","notifications_url":"https://api.github.com/repos/ivanershov51/homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ivanershov51/homework/labels{/name}","releases_url":"https://api.github.com/repos/ivanershov51/homework/releases{/id}","created_at":"2015-02-15T00:02:32Z","updated_at":"2015-05-07T10:48:50Z","pushed_at":"2015-11-29T00:36:08Z","git_url":"git://github.com/ivanershov51/homework.git","ssh_url":"git@github.com:ivanershov51/homework.git","clone_url":"https://github.com/ivanershov51/homework.git","svn_url":"https://github.com/ivanershov51/homework","homepage":"http://hwproj.herokuapp.com/courses/1","size":789,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ivanershov51/homework/pulls/32"},"html":{"href":"https://github.com/ivanershov51/homework/pull/32"},"issue":{"href":"https://api.github.com/repos/ivanershov51/homework/issues/32"},"comments":{"href":"https://api.github.com/repos/ivanershov51/homework/issues/32/comments"},"review_comments":{"href":"https://api.github.com/repos/ivanershov51/homework/pulls/32/comments"},"review_comment":{"href":"https://api.github.com/repos/ivanershov51/homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ivanershov51/homework/pulls/32/commits"},"statuses":{"href":"https://api.github.com/repos/ivanershov51/homework/statuses/ace8533d5030bfb9f09a95f2b67fe9008cd6b01a"}}}}