{"action":"created","comment":{"url":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/comments/145762288","pull_request_review_id":70611189,"id":145762288,"diff_hunk":"@@ -2,12 +2,53 @@\n require_relative '../lib/scrabble'\n require 'minitest/autorun'\n require 'minitest/pride'\n-require 'pry'\n+# require 'pry'\n \n class ScrabbleTest < Minitest::Test\n   def test_it_can_score_a_single_letter\n-    skip\n+\n     assert_equal 1, Scrabble.new.score(\"a\")\n     assert_equal 4, Scrabble.new.score(\"f\")\n   end\n+  def test_it_can_score_nothing\n+\n+    assert_equal 0, Scrabble.new.score(\"\")\n+    assert_equal 0, Scrabble.new.score(nil)\n+  end\n+\n+  def test_it_can_score_a_word\n+\n+    assert_equal 8, Scrabble.new.score(\"hello\")\n+  end\n+\n+  def test_it_can_score_with_letter_multipliers\n+\n+    assert_equal 9, Scrabble.new.score_with_multipliers(\"hello\", [1,2,1,1,1])\n+  end\n+\n+  def test_it_can_score_with_word_multipliers\n+    game = Scrabble.new\n+\n+    assert_equal 39, game.score_with_multipliers(\"hello\", [1,2,5,1,1],3)\n+    assert_equal 18, game.score_with_multipliers(\"hello\", [1,2,1,1,1],2)\n+\n+  end\n+  \n+  def test_it_can_score_get_7_letter_bonus\n+    game = Scrabble.new\n+\n+    assert_equal 58, game.score_with_multipliers('sparkle', [1,2,1,3,1,2,1], 2)\n+    assert_equal 18, game.score_with_multipliers(\"hello\", [1,2,1,1,1],2)\n+  end\n+\n+  def test_it_can_get_highest_scoring_word\n+    game = Scrabble.new\n+    assert_equal \"home\", game.highest_scoring_word(['home', 'word', 'hello', 'sound'])\n+  end\n+  def test_it_can_get_highest_scoring_word_with_smallest_letters","path":"test/scrabble_test.rb","position":49,"original_position":49,"commit_id":"6b45d8c32e8473526241ea2bec665ffc2d803a01","original_commit_id":"6b45d8c32e8473526241ea2bec665ffc2d803a01","user":{"login":"VictoriaVasys","id":10079657,"avatar_url":"https://avatars0.githubusercontent.com/u/10079657?v=4","gravatar_id":"","url":"https://api.github.com/users/VictoriaVasys","html_url":"https://github.com/VictoriaVasys","followers_url":"https://api.github.com/users/VictoriaVasys/followers","following_url":"https://api.github.com/users/VictoriaVasys/following{/other_user}","gists_url":"https://api.github.com/users/VictoriaVasys/gists{/gist_id}","starred_url":"https://api.github.com/users/VictoriaVasys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VictoriaVasys/subscriptions","organizations_url":"https://api.github.com/users/VictoriaVasys/orgs","repos_url":"https://api.github.com/users/VictoriaVasys/repos","events_url":"https://api.github.com/users/VictoriaVasys/events{/privacy}","received_events_url":"https://api.github.com/users/VictoriaVasys/received_events","type":"User","site_admin":false},"body":"Ruby style is important in testing too; make sure pushed code is cleaned up (spacing, indentation, no comments, etc.)","created_at":"2017-10-19T17:03:49Z","updated_at":"2017-10-19T17:14:24Z","html_url":"https://github.com/turingschool-examples/scrabble/pull/3#discussion_r145762288","pull_request_url":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/3","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/comments/145762288"},"html":{"href":"https://github.com/turingschool-examples/scrabble/pull/3#discussion_r145762288"},"pull_request":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/3","id":147355681,"html_url":"https://github.com/turingschool-examples/scrabble/pull/3","diff_url":"https://github.com/turingschool-examples/scrabble/pull/3.diff","patch_url":"https://github.com/turingschool-examples/scrabble/pull/3.patch","issue_url":"https://api.github.com/repos/turingschool-examples/scrabble/issues/3","number":3,"state":"closed","locked":false,"title":"Zach Landes BEE Scrabble ","user":{"login":"zacharylandes","id":13617379,"avatar_url":"https://avatars3.githubusercontent.com/u/13617379?v=4","gravatar_id":"","url":"https://api.github.com/users/zacharylandes","html_url":"https://github.com/zacharylandes","followers_url":"https://api.github.com/users/zacharylandes/followers","following_url":"https://api.github.com/users/zacharylandes/following{/other_user}","gists_url":"https://api.github.com/users/zacharylandes/gists{/gist_id}","starred_url":"https://api.github.com/users/zacharylandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacharylandes/subscriptions","organizations_url":"https://api.github.com/users/zacharylandes/orgs","repos_url":"https://api.github.com/users/zacharylandes/repos","events_url":"https://api.github.com/users/zacharylandes/events{/privacy}","received_events_url":"https://api.github.com/users/zacharylandes/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-10-18T16:55:39Z","updated_at":"2017-10-19T17:14:24Z","closed_at":"2017-10-18T22:33:42Z","merged_at":null,"merge_commit_sha":"c22c21a581fce0f2fb43cf9e14e891715249a71b","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/3/commits","review_comments_url":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/3/comments","review_comment_url":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/comments{/number}","comments_url":"https://api.github.com/repos/turingschool-examples/scrabble/issues/3/comments","statuses_url":"https://api.github.com/repos/turingschool-examples/scrabble/statuses/6b45d8c32e8473526241ea2bec665ffc2d803a01","head":{"label":"zacharylandes:master","ref":"master","sha":"6b45d8c32e8473526241ea2bec665ffc2d803a01","user":{"login":"zacharylandes","id":13617379,"avatar_url":"https://avatars3.githubusercontent.com/u/13617379?v=4","gravatar_id":"","url":"https://api.github.com/users/zacharylandes","html_url":"https://github.com/zacharylandes","followers_url":"https://api.github.com/users/zacharylandes/followers","following_url":"https://api.github.com/users/zacharylandes/following{/other_user}","gists_url":"https://api.github.com/users/zacharylandes/gists{/gist_id}","starred_url":"https://api.github.com/users/zacharylandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacharylandes/subscriptions","organizations_url":"https://api.github.com/users/zacharylandes/orgs","repos_url":"https://api.github.com/users/zacharylandes/repos","events_url":"https://api.github.com/users/zacharylandes/events{/privacy}","received_events_url":"https://api.github.com/users/zacharylandes/received_events","type":"User","site_admin":false},"repo":{"id":107423954,"name":"scrabble","full_name":"zacharylandes/scrabble","owner":{"login":"zacharylandes","id":13617379,"avatar_url":"https://avatars3.githubusercontent.com/u/13617379?v=4","gravatar_id":"","url":"https://api.github.com/users/zacharylandes","html_url":"https://github.com/zacharylandes","followers_url":"https://api.github.com/users/zacharylandes/followers","following_url":"https://api.github.com/users/zacharylandes/following{/other_user}","gists_url":"https://api.github.com/users/zacharylandes/gists{/gist_id}","starred_url":"https://api.github.com/users/zacharylandes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacharylandes/subscriptions","organizations_url":"https://api.github.com/users/zacharylandes/orgs","repos_url":"https://api.github.com/users/zacharylandes/repos","events_url":"https://api.github.com/users/zacharylandes/events{/privacy}","received_events_url":"https://api.github.com/users/zacharylandes/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zacharylandes/scrabble","description":null,"fork":true,"url":"https://api.github.com/repos/zacharylandes/scrabble","forks_url":"https://api.github.com/repos/zacharylandes/scrabble/forks","keys_url":"https://api.github.com/repos/zacharylandes/scrabble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zacharylandes/scrabble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zacharylandes/scrabble/teams","hooks_url":"https://api.github.com/repos/zacharylandes/scrabble/hooks","issue_events_url":"https://api.github.com/repos/zacharylandes/scrabble/issues/events{/number}","events_url":"https://api.github.com/repos/zacharylandes/scrabble/events","assignees_url":"https://api.github.com/repos/zacharylandes/scrabble/assignees{/user}","branches_url":"https://api.github.com/repos/zacharylandes/scrabble/branches{/branch}","tags_url":"https://api.github.com/repos/zacharylandes/scrabble/tags","blobs_url":"https://api.github.com/repos/zacharylandes/scrabble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zacharylandes/scrabble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zacharylandes/scrabble/git/refs{/sha}","trees_url":"https://api.github.com/repos/zacharylandes/scrabble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zacharylandes/scrabble/statuses/{sha}","languages_url":"https://api.github.com/repos/zacharylandes/scrabble/languages","stargazers_url":"https://api.github.com/repos/zacharylandes/scrabble/stargazers","contributors_url":"https://api.github.com/repos/zacharylandes/scrabble/contributors","subscribers_url":"https://api.github.com/repos/zacharylandes/scrabble/subscribers","subscription_url":"https://api.github.com/repos/zacharylandes/scrabble/subscription","commits_url":"https://api.github.com/repos/zacharylandes/scrabble/commits{/sha}","git_commits_url":"https://api.github.com/repos/zacharylandes/scrabble/git/commits{/sha}","comments_url":"https://api.github.com/repos/zacharylandes/scrabble/comments{/number}","issue_comment_url":"https://api.github.com/repos/zacharylandes/scrabble/issues/comments{/number}","contents_url":"https://api.github.com/repos/zacharylandes/scrabble/contents/{+path}","compare_url":"https://api.github.com/repos/zacharylandes/scrabble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zacharylandes/scrabble/merges","archive_url":"https://api.github.com/repos/zacharylandes/scrabble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zacharylandes/scrabble/downloads","issues_url":"https://api.github.com/repos/zacharylandes/scrabble/issues{/number}","pulls_url":"https://api.github.com/repos/zacharylandes/scrabble/pulls{/number}","milestones_url":"https://api.github.com/repos/zacharylandes/scrabble/milestones{/number}","notifications_url":"https://api.github.com/repos/zacharylandes/scrabble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zacharylandes/scrabble/labels{/name}","releases_url":"https://api.github.com/repos/zacharylandes/scrabble/releases{/id}","deployments_url":"https://api.github.com/repos/zacharylandes/scrabble/deployments","created_at":"2017-10-18T15:01:42Z","updated_at":"2017-10-18T15:01:44Z","pushed_at":"2017-10-18T16:54:57Z","git_url":"git://github.com/zacharylandes/scrabble.git","ssh_url":"git@github.com:zacharylandes/scrabble.git","clone_url":"https://github.com/zacharylandes/scrabble.git","svn_url":"https://github.com/zacharylandes/scrabble","homepage":null,"size":20,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"turingschool-examples:master","ref":"master","sha":"104fad662b6782a1256044785717a29f41f8430d","user":{"login":"turingschool-examples","id":8518346,"avatar_url":"https://avatars3.githubusercontent.com/u/8518346?v=4","gravatar_id":"","url":"https://api.github.com/users/turingschool-examples","html_url":"https://github.com/turingschool-examples","followers_url":"https://api.github.com/users/turingschool-examples/followers","following_url":"https://api.github.com/users/turingschool-examples/following{/other_user}","gists_url":"https://api.github.com/users/turingschool-examples/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool-examples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool-examples/subscriptions","organizations_url":"https://api.github.com/users/turingschool-examples/orgs","repos_url":"https://api.github.com/users/turingschool-examples/repos","events_url":"https://api.github.com/users/turingschool-examples/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool-examples/received_events","type":"Organization","site_admin":false},"repo":{"id":107422605,"name":"scrabble","full_name":"turingschool-examples/scrabble","owner":{"login":"turingschool-examples","id":8518346,"avatar_url":"https://avatars3.githubusercontent.com/u/8518346?v=4","gravatar_id":"","url":"https://api.github.com/users/turingschool-examples","html_url":"https://github.com/turingschool-examples","followers_url":"https://api.github.com/users/turingschool-examples/followers","following_url":"https://api.github.com/users/turingschool-examples/following{/other_user}","gists_url":"https://api.github.com/users/turingschool-examples/gists{/gist_id}","starred_url":"https://api.github.com/users/turingschool-examples/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/turingschool-examples/subscriptions","organizations_url":"https://api.github.com/users/turingschool-examples/orgs","repos_url":"https://api.github.com/users/turingschool-examples/repos","events_url":"https://api.github.com/users/turingschool-examples/events{/privacy}","received_events_url":"https://api.github.com/users/turingschool-examples/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/turingschool-examples/scrabble","description":null,"fork":false,"url":"https://api.github.com/repos/turingschool-examples/scrabble","forks_url":"https://api.github.com/repos/turingschool-examples/scrabble/forks","keys_url":"https://api.github.com/repos/turingschool-examples/scrabble/keys{/key_id}","collaborators_url":"https://api.github.com/repos/turingschool-examples/scrabble/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/turingschool-examples/scrabble/teams","hooks_url":"https://api.github.com/repos/turingschool-examples/scrabble/hooks","issue_events_url":"https://api.github.com/repos/turingschool-examples/scrabble/issues/events{/number}","events_url":"https://api.github.com/repos/turingschool-examples/scrabble/events","assignees_url":"https://api.github.com/repos/turingschool-examples/scrabble/assignees{/user}","branches_url":"https://api.github.com/repos/turingschool-examples/scrabble/branches{/branch}","tags_url":"https://api.github.com/repos/turingschool-examples/scrabble/tags","blobs_url":"https://api.github.com/repos/turingschool-examples/scrabble/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/turingschool-examples/scrabble/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/turingschool-examples/scrabble/git/refs{/sha}","trees_url":"https://api.github.com/repos/turingschool-examples/scrabble/git/trees{/sha}","statuses_url":"https://api.github.com/repos/turingschool-examples/scrabble/statuses/{sha}","languages_url":"https://api.github.com/repos/turingschool-examples/scrabble/languages","stargazers_url":"https://api.github.com/repos/turingschool-examples/scrabble/stargazers","contributors_url":"https://api.github.com/repos/turingschool-examples/scrabble/contributors","subscribers_url":"https://api.github.com/repos/turingschool-examples/scrabble/subscribers","subscription_url":"https://api.github.com/repos/turingschool-examples/scrabble/subscription","commits_url":"https://api.github.com/repos/turingschool-examples/scrabble/commits{/sha}","git_commits_url":"https://api.github.com/repos/turingschool-examples/scrabble/git/commits{/sha}","comments_url":"https://api.github.com/repos/turingschool-examples/scrabble/comments{/number}","issue_comment_url":"https://api.github.com/repos/turingschool-examples/scrabble/issues/comments{/number}","contents_url":"https://api.github.com/repos/turingschool-examples/scrabble/contents/{+path}","compare_url":"https://api.github.com/repos/turingschool-examples/scrabble/compare/{base}...{head}","merges_url":"https://api.github.com/repos/turingschool-examples/scrabble/merges","archive_url":"https://api.github.com/repos/turingschool-examples/scrabble/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/turingschool-examples/scrabble/downloads","issues_url":"https://api.github.com/repos/turingschool-examples/scrabble/issues{/number}","pulls_url":"https://api.github.com/repos/turingschool-examples/scrabble/pulls{/number}","milestones_url":"https://api.github.com/repos/turingschool-examples/scrabble/milestones{/number}","notifications_url":"https://api.github.com/repos/turingschool-examples/scrabble/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/turingschool-examples/scrabble/labels{/name}","releases_url":"https://api.github.com/repos/turingschool-examples/scrabble/releases{/id}","deployments_url":"https://api.github.com/repos/turingschool-examples/scrabble/deployments","created_at":"2017-10-18T14:51:05Z","updated_at":"2017-10-18T19:09:32Z","pushed_at":"2017-10-18T18:20:35Z","git_url":"git://github.com/turingschool-examples/scrabble.git","ssh_url":"git@github.com:turingschool-examples/scrabble.git","clone_url":"https://github.com/turingschool-examples/scrabble.git","svn_url":"https://github.com/turingschool-examples/scrabble","homepage":null,"size":19,"stargazers_count":1,"watchers_count":1,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"open_issues_count":2,"forks":17,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/3"},"html":{"href":"https://github.com/turingschool-examples/scrabble/pull/3"},"issue":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/issues/3"},"comments":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/turingschool-examples/scrabble/statuses/6b45d8c32e8473526241ea2bec665ffc2d803a01"}},"author_association":"NONE"}}
{"actor":{"display_login":"VictoriaVasys"}}