{"action":"created","comment":{"url":"https://api.github.com/repos/bald-org/bald-engine/pulls/comments/243084454","pull_request_review_id":186735058,"id":243084454,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzA4NDQ1NA==","diff_hunk":"@@ -0,0 +1,165 @@\n+//\n+// Created by ajer on 16.12.18.\n+//\n+\n+#include \"pch.h\"\n+#include \"gtest/gtest.h\"\n+#include \"math/vec2.h\"\n+\n+\n+\n+TEST(GetterX, GetX) { //NOLINT\n+    Bald::Math::Vec2 A(66.0f,3.4f);\n+\n+    EXPECT_EQ(66.0f, A.GetX());\n+}\n+\n+\n+\n+TEST(GetterY, GetY) { //NOLINT\n+    Bald::Math::Vec2 A(2.0f, -23.33f);\n+\n+    EXPECT_EQ(-23.33f, A.GetY());\n+}\n+\n+\n+\n+TEST(MakeUnitVec, StaticUnitVec) { //NOLINT\n+    Bald::Math::Vec2 A = Bald::Math::Vec2::MakeUnitVec(Bald::Math::Vec2(3.0f, 4.0f));\n+\n+    EXPECT_EQ(1.0f, A.Len());\n+}\n+\n+\n+\n+TEST(NormalizeVector, UnitVecMethod) { //NOLINT\n+    Bald::Math::Vec2 A(5.0f,12.0f);\n+\n+    A.Normalize();\n+\n+    EXPECT_EQ(1.0f, A.Len());\n+}\n+\n+\n+\n+TEST(PlusOperator, AddingOperator) { //NOLINT\n+    Bald::Math::Vec2 A(2.0f,-4.0f);\n+    Bald::Math::Vec2 B(1.0f, 3.0f);\n+\n+    Bald::Math::Vec2 C(A+B);\n+\n+    EXPECT_EQ(Bald::Math::Vec2(3.0f,-1.0f), C);\n+}\n+\n+\n+\n+TEST(MinusOperator, SubtractingOperator) { //NOLINT\n+    Bald::Math::Vec2 A(2.0f,-4.0f);\n+    Bald::Math::Vec2 B(1.0f, 3.0f);\n+\n+    Bald::Math::Vec2 C(A-B);\n+\n+    EXPECT_EQ(Bald::Math::Vec2(1.0f,-7.0f), C);\n+}\n+\n+\n+\n+TEST(MultiplyOperator, MultiplyingOperator) { //NOLINT\n+    Bald::Math::Vec2 A(2.0f,-4.0f);\n+\n+    Bald::Math::Vec2 C(A*3.0f);\n+\n+    EXPECT_EQ(Bald::Math::Vec2(6.0f,-12.0f), C);","path":"tests/test_vector2.cpp","position":72,"original_position":72,"commit_id":"fcfb8416401228701bf295416b2bee996fec376b","original_commit_id":"fcfb8416401228701bf295416b2bee996fec376b","user":{"login":"piotrmoszkowicz","id":5701304,"node_id":"MDQ6VXNlcjU3MDEzMDQ=","avatar_url":"https://avatars3.githubusercontent.com/u/5701304?v=4","gravatar_id":"","url":"https://api.github.com/users/piotrmoszkowicz","html_url":"https://github.com/piotrmoszkowicz","followers_url":"https://api.github.com/users/piotrmoszkowicz/followers","following_url":"https://api.github.com/users/piotrmoszkowicz/following{/other_user}","gists_url":"https://api.github.com/users/piotrmoszkowicz/gists{/gist_id}","starred_url":"https://api.github.com/users/piotrmoszkowicz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/piotrmoszkowicz/subscriptions","organizations_url":"https://api.github.com/users/piotrmoszkowicz/orgs","repos_url":"https://api.github.com/users/piotrmoszkowicz/repos","events_url":"https://api.github.com/users/piotrmoszkowicz/events{/privacy}","received_events_url":"https://api.github.com/users/piotrmoszkowicz/received_events","type":"User","site_admin":false},"body":"Move A*3.0f","created_at":"2018-12-19T21:38:50Z","updated_at":"2018-12-19T21:41:55Z","html_url":"https://github.com/bald-org/bald-engine/pull/11#discussion_r243084454","pull_request_url":"https://api.github.com/repos/bald-org/bald-engine/pulls/11","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/bald-org/bald-engine/pulls/comments/243084454"},"html":{"href":"https://github.com/bald-org/bald-engine/pull/11#discussion_r243084454"},"pull_request":{"href":"https://api.github.com/repos/bald-org/bald-engine/pulls/11"}}},"pull_request":{"url":"https://api.github.com/repos/bald-org/bald-engine/pulls/11","id":238995724,"node_id":"MDExOlB1bGxSZXF1ZXN0MjM4OTk1NzI0","html_url":"https://github.com/bald-org/bald-engine/pull/11","diff_url":"https://github.com/bald-org/bald-engine/pull/11.diff","patch_url":"https://github.com/bald-org/bald-engine/pull/11.patch","issue_url":"https://api.github.com/repos/bald-org/bald-engine/issues/11","number":11,"state":"open","locked":false,"title":"[BALDE-15] Add Vector(x,y)","user":{"login":"4jeR","id":38592844,"node_id":"MDQ6VXNlcjM4NTkyODQ0","avatar_url":"https://avatars2.githubusercontent.com/u/38592844?v=4","gravatar_id":"","url":"https://api.github.com/users/4jeR","html_url":"https://github.com/4jeR","followers_url":"https://api.github.com/users/4jeR/followers","following_url":"https://api.github.com/users/4jeR/following{/other_user}","gists_url":"https://api.github.com/users/4jeR/gists{/gist_id}","starred_url":"https://api.github.com/users/4jeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/4jeR/subscriptions","organizations_url":"https://api.github.com/users/4jeR/orgs","repos_url":"https://api.github.com/users/4jeR/repos","events_url":"https://api.github.com/users/4jeR/events{/privacy}","received_events_url":"https://api.github.com/users/4jeR/received_events","type":"User","site_admin":false},"body":"Added basic Vec2 class","created_at":"2018-12-16T22:44:18Z","updated_at":"2018-12-19T21:41:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e5a5d8f42c2a58b51b90e79d05256dcbaef9e5c8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bald-org/bald-engine/pulls/11/commits","review_comments_url":"https://api.github.com/repos/bald-org/bald-engine/pulls/11/comments","review_comment_url":"https://api.github.com/repos/bald-org/bald-engine/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bald-org/bald-engine/issues/11/comments","statuses_url":"https://api.github.com/repos/bald-org/bald-engine/statuses/fcfb8416401228701bf295416b2bee996fec376b","head":{"label":"bald-org:BALDE-15_Add_Vector2","ref":"BALDE-15_Add_Vector2","sha":"fcfb8416401228701bf295416b2bee996fec376b","user":{"login":"bald-org","id":45878669,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1ODc4NjY5","avatar_url":"https://avatars3.githubusercontent.com/u/45878669?v=4","gravatar_id":"","url":"https://api.github.com/users/bald-org","html_url":"https://github.com/bald-org","followers_url":"https://api.github.com/users/bald-org/followers","following_url":"https://api.github.com/users/bald-org/following{/other_user}","gists_url":"https://api.github.com/users/bald-org/gists{/gist_id}","starred_url":"https://api.github.com/users/bald-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bald-org/subscriptions","organizations_url":"https://api.github.com/users/bald-org/orgs","repos_url":"https://api.github.com/users/bald-org/repos","events_url":"https://api.github.com/users/bald-org/events{/privacy}","received_events_url":"https://api.github.com/users/bald-org/received_events","type":"Organization","site_admin":false},"repo":{"id":161804314,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE4MDQzMTQ=","name":"bald-engine","full_name":"bald-org/bald-engine","private":false,"owner":{"login":"bald-org","id":45878669,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1ODc4NjY5","avatar_url":"https://avatars3.githubusercontent.com/u/45878669?v=4","gravatar_id":"","url":"https://api.github.com/users/bald-org","html_url":"https://github.com/bald-org","followers_url":"https://api.github.com/users/bald-org/followers","following_url":"https://api.github.com/users/bald-org/following{/other_user}","gists_url":"https://api.github.com/users/bald-org/gists{/gist_id}","starred_url":"https://api.github.com/users/bald-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bald-org/subscriptions","organizations_url":"https://api.github.com/users/bald-org/orgs","repos_url":"https://api.github.com/users/bald-org/repos","events_url":"https://api.github.com/users/bald-org/events{/privacy}","received_events_url":"https://api.github.com/users/bald-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bald-org/bald-engine","description":"BALD Engine","fork":false,"url":"https://api.github.com/repos/bald-org/bald-engine","forks_url":"https://api.github.com/repos/bald-org/bald-engine/forks","keys_url":"https://api.github.com/repos/bald-org/bald-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bald-org/bald-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bald-org/bald-engine/teams","hooks_url":"https://api.github.com/repos/bald-org/bald-engine/hooks","issue_events_url":"https://api.github.com/repos/bald-org/bald-engine/issues/events{/number}","events_url":"https://api.github.com/repos/bald-org/bald-engine/events","assignees_url":"https://api.github.com/repos/bald-org/bald-engine/assignees{/user}","branches_url":"https://api.github.com/repos/bald-org/bald-engine/branches{/branch}","tags_url":"https://api.github.com/repos/bald-org/bald-engine/tags","blobs_url":"https://api.github.com/repos/bald-org/bald-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bald-org/bald-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bald-org/bald-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/bald-org/bald-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bald-org/bald-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/bald-org/bald-engine/languages","stargazers_url":"https://api.github.com/repos/bald-org/bald-engine/stargazers","contributors_url":"https://api.github.com/repos/bald-org/bald-engine/contributors","subscribers_url":"https://api.github.com/repos/bald-org/bald-engine/subscribers","subscription_url":"https://api.github.com/repos/bald-org/bald-engine/subscription","commits_url":"https://api.github.com/repos/bald-org/bald-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/bald-org/bald-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/bald-org/bald-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/bald-org/bald-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/bald-org/bald-engine/contents/{+path}","compare_url":"https://api.github.com/repos/bald-org/bald-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bald-org/bald-engine/merges","archive_url":"https://api.github.com/repos/bald-org/bald-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bald-org/bald-engine/downloads","issues_url":"https://api.github.com/repos/bald-org/bald-engine/issues{/number}","pulls_url":"https://api.github.com/repos/bald-org/bald-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/bald-org/bald-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/bald-org/bald-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bald-org/bald-engine/labels{/name}","releases_url":"https://api.github.com/repos/bald-org/bald-engine/releases{/id}","deployments_url":"https://api.github.com/repos/bald-org/bald-engine/deployments","created_at":"2018-12-14T15:31:57Z","updated_at":"2018-12-18T17:42:56Z","pushed_at":"2018-12-19T21:36:57Z","git_url":"git://github.com/bald-org/bald-engine.git","ssh_url":"git@github.com:bald-org/bald-engine.git","clone_url":"https://github.com/bald-org/bald-engine.git","svn_url":"https://github.com/bald-org/bald-engine","homepage":null,"size":89,"stargazers_count":1,"watchers_count":1,"language":"C++","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":null,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"base":{"label":"bald-org:master","ref":"master","sha":"287504120ae578acb042643f406f35c6d767d4cc","user":{"login":"bald-org","id":45878669,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1ODc4NjY5","avatar_url":"https://avatars3.githubusercontent.com/u/45878669?v=4","gravatar_id":"","url":"https://api.github.com/users/bald-org","html_url":"https://github.com/bald-org","followers_url":"https://api.github.com/users/bald-org/followers","following_url":"https://api.github.com/users/bald-org/following{/other_user}","gists_url":"https://api.github.com/users/bald-org/gists{/gist_id}","starred_url":"https://api.github.com/users/bald-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bald-org/subscriptions","organizations_url":"https://api.github.com/users/bald-org/orgs","repos_url":"https://api.github.com/users/bald-org/repos","events_url":"https://api.github.com/users/bald-org/events{/privacy}","received_events_url":"https://api.github.com/users/bald-org/received_events","type":"Organization","site_admin":false},"repo":{"id":161804314,"node_id":"MDEwOlJlcG9zaXRvcnkxNjE4MDQzMTQ=","name":"bald-engine","full_name":"bald-org/bald-engine","private":false,"owner":{"login":"bald-org","id":45878669,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQ1ODc4NjY5","avatar_url":"https://avatars3.githubusercontent.com/u/45878669?v=4","gravatar_id":"","url":"https://api.github.com/users/bald-org","html_url":"https://github.com/bald-org","followers_url":"https://api.github.com/users/bald-org/followers","following_url":"https://api.github.com/users/bald-org/following{/other_user}","gists_url":"https://api.github.com/users/bald-org/gists{/gist_id}","starred_url":"https://api.github.com/users/bald-org/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bald-org/subscriptions","organizations_url":"https://api.github.com/users/bald-org/orgs","repos_url":"https://api.github.com/users/bald-org/repos","events_url":"https://api.github.com/users/bald-org/events{/privacy}","received_events_url":"https://api.github.com/users/bald-org/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bald-org/bald-engine","description":"BALD Engine","fork":false,"url":"https://api.github.com/repos/bald-org/bald-engine","forks_url":"https://api.github.com/repos/bald-org/bald-engine/forks","keys_url":"https://api.github.com/repos/bald-org/bald-engine/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bald-org/bald-engine/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bald-org/bald-engine/teams","hooks_url":"https://api.github.com/repos/bald-org/bald-engine/hooks","issue_events_url":"https://api.github.com/repos/bald-org/bald-engine/issues/events{/number}","events_url":"https://api.github.com/repos/bald-org/bald-engine/events","assignees_url":"https://api.github.com/repos/bald-org/bald-engine/assignees{/user}","branches_url":"https://api.github.com/repos/bald-org/bald-engine/branches{/branch}","tags_url":"https://api.github.com/repos/bald-org/bald-engine/tags","blobs_url":"https://api.github.com/repos/bald-org/bald-engine/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bald-org/bald-engine/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bald-org/bald-engine/git/refs{/sha}","trees_url":"https://api.github.com/repos/bald-org/bald-engine/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bald-org/bald-engine/statuses/{sha}","languages_url":"https://api.github.com/repos/bald-org/bald-engine/languages","stargazers_url":"https://api.github.com/repos/bald-org/bald-engine/stargazers","contributors_url":"https://api.github.com/repos/bald-org/bald-engine/contributors","subscribers_url":"https://api.github.com/repos/bald-org/bald-engine/subscribers","subscription_url":"https://api.github.com/repos/bald-org/bald-engine/subscription","commits_url":"https://api.github.com/repos/bald-org/bald-engine/commits{/sha}","git_commits_url":"https://api.github.com/repos/bald-org/bald-engine/git/commits{/sha}","comments_url":"https://api.github.com/repos/bald-org/bald-engine/comments{/number}","issue_comment_url":"https://api.github.com/repos/bald-org/bald-engine/issues/comments{/number}","contents_url":"https://api.github.com/repos/bald-org/bald-engine/contents/{+path}","compare_url":"https://api.github.com/repos/bald-org/bald-engine/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bald-org/bald-engine/merges","archive_url":"https://api.github.com/repos/bald-org/bald-engine/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bald-org/bald-engine/downloads","issues_url":"https://api.github.com/repos/bald-org/bald-engine/issues{/number}","pulls_url":"https://api.github.com/repos/bald-org/bald-engine/pulls{/number}","milestones_url":"https://api.github.com/repos/bald-org/bald-engine/milestones{/number}","notifications_url":"https://api.github.com/repos/bald-org/bald-engine/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bald-org/bald-engine/labels{/name}","releases_url":"https://api.github.com/repos/bald-org/bald-engine/releases{/id}","deployments_url":"https://api.github.com/repos/bald-org/bald-engine/deployments","created_at":"2018-12-14T15:31:57Z","updated_at":"2018-12-18T17:42:56Z","pushed_at":"2018-12-19T21:36:57Z","git_url":"git://github.com/bald-org/bald-engine.git","ssh_url":"git@github.com:bald-org/bald-engine.git","clone_url":"https://github.com/bald-org/bald-engine.git","svn_url":"https://github.com/bald-org/bald-engine","homepage":null,"size":89,"stargazers_count":1,"watchers_count":1,"language":"C++","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":null,"forks":0,"open_issues":3,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bald-org/bald-engine/pulls/11"},"html":{"href":"https://github.com/bald-org/bald-engine/pull/11"},"issue":{"href":"https://api.github.com/repos/bald-org/bald-engine/issues/11"},"comments":{"href":"https://api.github.com/repos/bald-org/bald-engine/issues/11/comments"},"review_comments":{"href":"https://api.github.com/repos/bald-org/bald-engine/pulls/11/comments"},"review_comment":{"href":"https://api.github.com/repos/bald-org/bald-engine/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bald-org/bald-engine/pulls/11/commits"},"statuses":{"href":"https://api.github.com/repos/bald-org/bald-engine/statuses/fcfb8416401228701bf295416b2bee996fec376b"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"piotrmoszkowicz"}}