{"action":"created","issue":{"url":"https://api.github.com/repos/sgyatto/tdd-java/issues/13","repository_url":"https://api.github.com/repos/sgyatto/tdd-java","labels_url":"https://api.github.com/repos/sgyatto/tdd-java/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/sgyatto/tdd-java/issues/13/comments","events_url":"https://api.github.com/repos/sgyatto/tdd-java/issues/13/events","html_url":"https://github.com/sgyatto/tdd-java/pull/13","id":378301117,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5MDM3ODI5","number":13,"title":"[WIP]第13章 実装を導くテスト","user":{"login":"sgyatto","id":42696711,"node_id":"MDQ6VXNlcjQyNjk2NzEx","avatar_url":"https://avatars2.githubusercontent.com/u/42696711?v=4","gravatar_id":"","url":"https://api.github.com/users/sgyatto","html_url":"https://github.com/sgyatto","followers_url":"https://api.github.com/users/sgyatto/followers","following_url":"https://api.github.com/users/sgyatto/following{/other_user}","gists_url":"https://api.github.com/users/sgyatto/gists{/gist_id}","starred_url":"https://api.github.com/users/sgyatto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgyatto/subscriptions","organizations_url":"https://api.github.com/users/sgyatto/orgs","repos_url":"https://api.github.com/users/sgyatto/repos","events_url":"https://api.github.com/users/sgyatto/events{/privacy}","received_events_url":"https://api.github.com/users/sgyatto/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-07T14:04:10Z","updated_at":"2018-11-07T15:05:56Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/sgyatto/tdd-java/pulls/13","html_url":"https://github.com/sgyatto/tdd-java/pull/13","diff_url":"https://github.com/sgyatto/tdd-java/pull/13.diff","patch_url":"https://github.com/sgyatto/tdd-java/pull/13.patch"},"body":"### TODO\r\n- $5 + 10 CHF = $10（レートが2:1の場合）\r\n- **$5 + $5 = $10**"},"comment":{"url":"https://api.github.com/repos/sgyatto/tdd-java/issues/comments/436653897","html_url":"https://github.com/sgyatto/tdd-java/pull/13#issuecomment-436653897","issue_url":"https://api.github.com/repos/sgyatto/tdd-java/issues/13","id":436653897,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjY1Mzg5Nw==","user":{"login":"sgyatto","id":42696711,"node_id":"MDQ6VXNlcjQyNjk2NzEx","avatar_url":"https://avatars2.githubusercontent.com/u/42696711?v=4","gravatar_id":"","url":"https://api.github.com/users/sgyatto","html_url":"https://github.com/sgyatto","followers_url":"https://api.github.com/users/sgyatto/followers","following_url":"https://api.github.com/users/sgyatto/following{/other_user}","gists_url":"https://api.github.com/users/sgyatto/gists{/gist_id}","starred_url":"https://api.github.com/users/sgyatto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sgyatto/subscriptions","organizations_url":"https://api.github.com/users/sgyatto/orgs","repos_url":"https://api.github.com/users/sgyatto/repos","events_url":"https://api.github.com/users/sgyatto/events{/privacy}","received_events_url":"https://api.github.com/users/sgyatto/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T15:05:56Z","updated_at":"2018-11-07T15:05:56Z","author_association":"OWNER","body":"* 一旦、`Bank`の`reduce`は放置することにして、`plus`の設計をつめていくために、**短命なテスト**を書いてみる\r\n  * なぜ短命かというと、内部の実装に深く関係したテストであり、外部から見た振る舞いのテストになっていないから\r\n  * 加算は`Sum`（`Expressionの一種`）を返すことについて考えてみる（短命なテストとして追加）\r\n  * 同一通貨の加算は`Money`を返すってやつはあとまわし（忘れずにTODOに追加）\r\n\r\n### TODO\r\n- $5 + 10 CHF = $10（レートが2:1の場合）\r\n- **$5 + $5 = $10**\r\n- $5 + $5 がMoneyを返す"}}
{"actor":{"display_login":"sgyatto"}}