{"action":"created","comment":{"url":"https://api.github.com/repos/Godis715/Homework/pulls/comments/173162371","pull_request_review_id":102301208,"id":173162371,"diff_hunk":"@@ -0,0 +1,78 @@\n+﻿using System;\n+using StackCalc;\n+using Microsoft.VisualStudio.TestTools.UnitTesting;\n+\n+namespace CalculatorTests\n+{\n+\t[TestClass]\n+\tpublic class Tests\n+\t{\n+\t\t[TestMethod]\n+\t\tpublic void AddingTwoNumbers()\n+\t\t{\n+\t\t\tvar stack1 = new StackCalc.StackByArray();\n+\n+\t\t\tvar calc1 = new StackCalc.Calculator(stack1);\n+\n+\t\t\tcalc1.Put(3);\n+\t\t\tcalc1.Put(4);\n+\t\t\tcalc1.Div();\n+\t\t\tint answer = calc1.GetTop();\n+\t\t\tAssert.AreEqual(answer, 0);\n+\n+\t\t\tcalc1.Put(3);\n+\t\t\tcalc1.Add();\n+\t\t\tanswer = calc1.GetTop();\n+\t\t\tAssert.AreEqual(answer, 3);\n+\n+\t\t\tcalc1.Put(4);\n+\t\t\tcalc1.Sub();\n+\t\t\tanswer = calc1.GetTop();\n+\t\t\tAssert.AreEqual(answer, -1);\n+\n+\t\t\tcalc1.Put(5);\n+\t\t\tcalc1.Mul();\n+\t\t\tanswer = calc1.GetTop();\n+\t\t\tAssert.AreEqual(answer, -5);\n+\t\t}","path":"HwProj_Task_2_4/CalculatorTests/Tests.cs","position":37,"original_position":37,"commit_id":"0896d9319ced7a83b661301994ac244a86c19f8c","original_commit_id":"0896d9319ced7a83b661301994ac244a86c19f8c","user":{"login":"yurii-litvinov","id":706768,"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":"Очень длинный тест, который надо разбить на 4","created_at":"2018-03-08T13:52:05Z","updated_at":"2018-03-08T13:58:36Z","html_url":"https://github.com/Godis715/Homework/pull/4#discussion_r173162371","pull_request_url":"https://api.github.com/repos/Godis715/Homework/pulls/4","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Godis715/Homework/pulls/comments/173162371"},"html":{"href":"https://github.com/Godis715/Homework/pull/4#discussion_r173162371"},"pull_request":{"href":"https://api.github.com/repos/Godis715/Homework/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/Godis715/Homework/pulls/4","id":172975446,"html_url":"https://github.com/Godis715/Homework/pull/4","diff_url":"https://github.com/Godis715/Homework/pull/4.diff","patch_url":"https://github.com/Godis715/Homework/pull/4.patch","issue_url":"https://api.github.com/repos/Godis715/Homework/issues/4","number":4,"state":"open","locked":false,"title":"Task 2_4 has been done","user":{"login":"Godis715","id":33070242,"avatar_url":"https://avatars3.githubusercontent.com/u/33070242?v=4","gravatar_id":"","url":"https://api.github.com/users/Godis715","html_url":"https://github.com/Godis715","followers_url":"https://api.github.com/users/Godis715/followers","following_url":"https://api.github.com/users/Godis715/following{/other_user}","gists_url":"https://api.github.com/users/Godis715/gists{/gist_id}","starred_url":"https://api.github.com/users/Godis715/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godis715/subscriptions","organizations_url":"https://api.github.com/users/Godis715/orgs","repos_url":"https://api.github.com/users/Godis715/repos","events_url":"https://api.github.com/users/Godis715/events{/privacy}","received_events_url":"https://api.github.com/users/Godis715/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-05T20:19:08Z","updated_at":"2018-03-08T13:58:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c80b5ab2a924b4de374a862d288565a1359d3e90","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Godis715/Homework/pulls/4/commits","review_comments_url":"https://api.github.com/repos/Godis715/Homework/pulls/4/comments","review_comment_url":"https://api.github.com/repos/Godis715/Homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Godis715/Homework/issues/4/comments","statuses_url":"https://api.github.com/repos/Godis715/Homework/statuses/0896d9319ced7a83b661301994ac244a86c19f8c","head":{"label":"Godis715:Task2.4","ref":"Task2.4","sha":"0896d9319ced7a83b661301994ac244a86c19f8c","user":{"login":"Godis715","id":33070242,"avatar_url":"https://avatars3.githubusercontent.com/u/33070242?v=4","gravatar_id":"","url":"https://api.github.com/users/Godis715","html_url":"https://github.com/Godis715","followers_url":"https://api.github.com/users/Godis715/followers","following_url":"https://api.github.com/users/Godis715/following{/other_user}","gists_url":"https://api.github.com/users/Godis715/gists{/gist_id}","starred_url":"https://api.github.com/users/Godis715/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godis715/subscriptions","organizations_url":"https://api.github.com/users/Godis715/orgs","repos_url":"https://api.github.com/users/Godis715/repos","events_url":"https://api.github.com/users/Godis715/events{/privacy}","received_events_url":"https://api.github.com/users/Godis715/received_events","type":"User","site_admin":false},"repo":{"id":109842450,"name":"Homework","full_name":"Godis715/Homework","owner":{"login":"Godis715","id":33070242,"avatar_url":"https://avatars3.githubusercontent.com/u/33070242?v=4","gravatar_id":"","url":"https://api.github.com/users/Godis715","html_url":"https://github.com/Godis715","followers_url":"https://api.github.com/users/Godis715/followers","following_url":"https://api.github.com/users/Godis715/following{/other_user}","gists_url":"https://api.github.com/users/Godis715/gists{/gist_id}","starred_url":"https://api.github.com/users/Godis715/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godis715/subscriptions","organizations_url":"https://api.github.com/users/Godis715/orgs","repos_url":"https://api.github.com/users/Godis715/repos","events_url":"https://api.github.com/users/Godis715/events{/privacy}","received_events_url":"https://api.github.com/users/Godis715/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Godis715/Homework","description":null,"fork":false,"url":"https://api.github.com/repos/Godis715/Homework","forks_url":"https://api.github.com/repos/Godis715/Homework/forks","keys_url":"https://api.github.com/repos/Godis715/Homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Godis715/Homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Godis715/Homework/teams","hooks_url":"https://api.github.com/repos/Godis715/Homework/hooks","issue_events_url":"https://api.github.com/repos/Godis715/Homework/issues/events{/number}","events_url":"https://api.github.com/repos/Godis715/Homework/events","assignees_url":"https://api.github.com/repos/Godis715/Homework/assignees{/user}","branches_url":"https://api.github.com/repos/Godis715/Homework/branches{/branch}","tags_url":"https://api.github.com/repos/Godis715/Homework/tags","blobs_url":"https://api.github.com/repos/Godis715/Homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Godis715/Homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Godis715/Homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/Godis715/Homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Godis715/Homework/statuses/{sha}","languages_url":"https://api.github.com/repos/Godis715/Homework/languages","stargazers_url":"https://api.github.com/repos/Godis715/Homework/stargazers","contributors_url":"https://api.github.com/repos/Godis715/Homework/contributors","subscribers_url":"https://api.github.com/repos/Godis715/Homework/subscribers","subscription_url":"https://api.github.com/repos/Godis715/Homework/subscription","commits_url":"https://api.github.com/repos/Godis715/Homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/Godis715/Homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/Godis715/Homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/Godis715/Homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/Godis715/Homework/contents/{+path}","compare_url":"https://api.github.com/repos/Godis715/Homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Godis715/Homework/merges","archive_url":"https://api.github.com/repos/Godis715/Homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Godis715/Homework/downloads","issues_url":"https://api.github.com/repos/Godis715/Homework/issues{/number}","pulls_url":"https://api.github.com/repos/Godis715/Homework/pulls{/number}","milestones_url":"https://api.github.com/repos/Godis715/Homework/milestones{/number}","notifications_url":"https://api.github.com/repos/Godis715/Homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Godis715/Homework/labels{/name}","releases_url":"https://api.github.com/repos/Godis715/Homework/releases{/id}","deployments_url":"https://api.github.com/repos/Godis715/Homework/deployments","created_at":"2017-11-07T13:57:04Z","updated_at":"2018-03-03T13:15:15Z","pushed_at":"2018-03-06T11:02:22Z","git_url":"git://github.com/Godis715/Homework.git","ssh_url":"git@github.com:Godis715/Homework.git","clone_url":"https://github.com/Godis715/Homework.git","svn_url":"https://github.com/Godis715/Homework","homepage":null,"size":27,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"Godis715:master","ref":"master","sha":"d718981b14c63d7354819078f692d08d4f0dd2b6","user":{"login":"Godis715","id":33070242,"avatar_url":"https://avatars3.githubusercontent.com/u/33070242?v=4","gravatar_id":"","url":"https://api.github.com/users/Godis715","html_url":"https://github.com/Godis715","followers_url":"https://api.github.com/users/Godis715/followers","following_url":"https://api.github.com/users/Godis715/following{/other_user}","gists_url":"https://api.github.com/users/Godis715/gists{/gist_id}","starred_url":"https://api.github.com/users/Godis715/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godis715/subscriptions","organizations_url":"https://api.github.com/users/Godis715/orgs","repos_url":"https://api.github.com/users/Godis715/repos","events_url":"https://api.github.com/users/Godis715/events{/privacy}","received_events_url":"https://api.github.com/users/Godis715/received_events","type":"User","site_admin":false},"repo":{"id":109842450,"name":"Homework","full_name":"Godis715/Homework","owner":{"login":"Godis715","id":33070242,"avatar_url":"https://avatars3.githubusercontent.com/u/33070242?v=4","gravatar_id":"","url":"https://api.github.com/users/Godis715","html_url":"https://github.com/Godis715","followers_url":"https://api.github.com/users/Godis715/followers","following_url":"https://api.github.com/users/Godis715/following{/other_user}","gists_url":"https://api.github.com/users/Godis715/gists{/gist_id}","starred_url":"https://api.github.com/users/Godis715/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Godis715/subscriptions","organizations_url":"https://api.github.com/users/Godis715/orgs","repos_url":"https://api.github.com/users/Godis715/repos","events_url":"https://api.github.com/users/Godis715/events{/privacy}","received_events_url":"https://api.github.com/users/Godis715/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Godis715/Homework","description":null,"fork":false,"url":"https://api.github.com/repos/Godis715/Homework","forks_url":"https://api.github.com/repos/Godis715/Homework/forks","keys_url":"https://api.github.com/repos/Godis715/Homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Godis715/Homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Godis715/Homework/teams","hooks_url":"https://api.github.com/repos/Godis715/Homework/hooks","issue_events_url":"https://api.github.com/repos/Godis715/Homework/issues/events{/number}","events_url":"https://api.github.com/repos/Godis715/Homework/events","assignees_url":"https://api.github.com/repos/Godis715/Homework/assignees{/user}","branches_url":"https://api.github.com/repos/Godis715/Homework/branches{/branch}","tags_url":"https://api.github.com/repos/Godis715/Homework/tags","blobs_url":"https://api.github.com/repos/Godis715/Homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Godis715/Homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Godis715/Homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/Godis715/Homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Godis715/Homework/statuses/{sha}","languages_url":"https://api.github.com/repos/Godis715/Homework/languages","stargazers_url":"https://api.github.com/repos/Godis715/Homework/stargazers","contributors_url":"https://api.github.com/repos/Godis715/Homework/contributors","subscribers_url":"https://api.github.com/repos/Godis715/Homework/subscribers","subscription_url":"https://api.github.com/repos/Godis715/Homework/subscription","commits_url":"https://api.github.com/repos/Godis715/Homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/Godis715/Homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/Godis715/Homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/Godis715/Homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/Godis715/Homework/contents/{+path}","compare_url":"https://api.github.com/repos/Godis715/Homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Godis715/Homework/merges","archive_url":"https://api.github.com/repos/Godis715/Homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Godis715/Homework/downloads","issues_url":"https://api.github.com/repos/Godis715/Homework/issues{/number}","pulls_url":"https://api.github.com/repos/Godis715/Homework/pulls{/number}","milestones_url":"https://api.github.com/repos/Godis715/Homework/milestones{/number}","notifications_url":"https://api.github.com/repos/Godis715/Homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Godis715/Homework/labels{/name}","releases_url":"https://api.github.com/repos/Godis715/Homework/releases{/id}","deployments_url":"https://api.github.com/repos/Godis715/Homework/deployments","created_at":"2017-11-07T13:57:04Z","updated_at":"2018-03-03T13:15:15Z","pushed_at":"2018-03-06T11:02:22Z","git_url":"git://github.com/Godis715/Homework.git","ssh_url":"git@github.com:Godis715/Homework.git","clone_url":"https://github.com/Godis715/Homework.git","svn_url":"https://github.com/Godis715/Homework","homepage":null,"size":27,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":3,"license":{"key":"apache-2.0","name":"Apache License 2.0","spdx_id":"Apache-2.0","url":"https://api.github.com/licenses/apache-2.0"},"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Godis715/Homework/pulls/4"},"html":{"href":"https://github.com/Godis715/Homework/pull/4"},"issue":{"href":"https://api.github.com/repos/Godis715/Homework/issues/4"},"comments":{"href":"https://api.github.com/repos/Godis715/Homework/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/Godis715/Homework/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/Godis715/Homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Godis715/Homework/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/Godis715/Homework/statuses/0896d9319ced7a83b661301994ac244a86c19f8c"}},"author_association":"OWNER"}}
{"actor":{"display_login":"yurii-litvinov"}}