{"url":"https://mzp.hatenadiary.org/entry/20060713/1152803914","author_name":"mzp","author_url":"https://blog.hatena.ne.jp/mzp/","provider_name":"Hatena Blog","image_url":null,"blog_url":"https://mzp.hatenadiary.org/","height":"190","description":"Haskell\u3092\u3061\u3083\u3093\u3068\u4f7f\u304a\u3046\u3068\u601d\u3063\u3066\u3001\u6700\u8fd1\u30d7\u30ed\u30b0\u30e9\u30e0\u3092\u59cb\u3081\u307e\u3057\u305f\u3002\u3067\u3001Haskell\u306e\u30e6\u30cb\u30c3\u30c8\u30c6\u30b9\u30c8\u30fb\u30d5\u30ec\u30fc\u30e0\u30ef\u30fc\u30af\u3001HUnit\u306e\u4f7f\u3044\u52dd\u624b\u304c\u5fae\u5999\u3002 -- \u30c6\u30b9\u30c8\u306e\u5185\u5bb9 test1 = TestCase (assertEqual \"for (foo 3),\" (1,2) (foo 3)) -- \u3059\u3079\u3066\u306e\u30c6\u30b9\u30c8\u306e\u30ea\u30b9\u30c8 tests = TestList [TestLabel \"test1\" test1] -- \u30c6\u30b9\u30c8\u306e\u99c6\u52d5 main = runTestTT tests\u3068\u3044\u3046\u611f\u3058\u3067\u66f8\u304f\u3089\u3057\u3044\u3002\u6b63\u76f4\u9762\u5012\u3002test1\u306f\u66f8\u304b\u306a\u3044\u3068\u3044\u3051\u306a\u3044\u306e\u306f\u5f53\u7136\u3060\u3068\u3057\u3066\u3001tests\u306e\u3088\u3046\u306a\u5185\u5bb9\u306f\u81ea\u52d5\u3067\u4f5c\u308c\u306a\u3044\u3082\u306e\u304b\u3057\u3089\u2026","title":"HUnit\u304c\u5fae\u5999","type":"rich","width":"100%","version":"1.0","published":"2006-07-13 00:18:34","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmzp.hatenadiary.org%2Fentry%2F20060713%2F1152803914\" title=\"HUnit\u304c\u5fae\u5999 - \u307f\u305a\u3074\u30fc\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_url":"https://hatena.blog","blog_title":"\u307f\u305a\u3074\u30fc\u65e5\u8a18","categories":["Haskell"]}