<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>suzaku0914</author_name>
  <author_url>https://blog.hatena.ne.jp/suzaku0914/</author_url>
  <blog_title>エンターテイメント！！</blog_title>
  <blog_url>https://suzaku-tec.hatenadiary.jp/</blog_url>
  <categories>
    <anon>日記</anon>
    <anon>学習</anon>
    <anon>プログラミング</anon>
  </categories>
  <description>きっかけ 感想 学んだこと きっかけ テストコード書いたほうが実装早くなるんじゃね？って思って、テストコードを優先して書こうと思ったら、assertEqualsで結構迷ったので、記録として残しておこうと思い、書いた。 感想 assertEqualsの使い方は、下記の通り。 assertEquals(期待値, 実測値); 俺が迷ったのは、どっちが期待値で、どっちが実測値かどうか。 どっちやねん！って使っててかなり迷った。 引数の順番を気にしなければいけないのは、使う側にとって苦痛を強いていると分かった。 だから、本来は、もっと別な実装を提供スべきだと思いました。 たとえば、下記みたいな感じにすれ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsuzaku-tec.hatenadiary.jp%2Fentry%2F2018%2F03%2F21%2F132117&quot; title=&quot;assertEqualsで迷った - エンターテイメント！！&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-03-21 13:21:17</published>
  <title>assertEqualsで迷った</title>
  <type>rich</type>
  <url>https://suzaku-tec.hatenadiary.jp/entry/2018/03/21/132117</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
