{"title":"Ruby\u3067\u3001D\u8a00\u8a9e\u98a8\u306bassertion\u3092\u76f4\u66f8\u304d\u3059\u308b\u7c21\u6613unit test","provider_name":"Hatena Blog","width":"100%","blog_url":"https://c4se.hatenablog.com/","image_url":null,"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fc4se.hatenablog.com%2Fentry%2F2013%2F08%2F15%2F022137\" title=\"Ruby\u3067\u3001D\u8a00\u8a9e\u98a8\u306bassertion\u3092\u76f4\u66f8\u304d\u3059\u308b\u7c21\u6613unit test - c4se\u8a18\uff1a\u3055\u3063\u3061\u3083\u3093\u3067\u3059\u3088\u2606\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","height":"190","categories":["Programming","Ruby"],"published":"2013-08-15 02:21:37","blog_title":"c4se\u8a18\uff1a\u3055\u3063\u3061\u3083\u3093\u3067\u3059\u3088\u2606","description":"\u307e\u3042\u3001\u306a\u3093\u3068\u4e91\u3075\u304b\u3001\u3081\u3093\u3069\u304f\u3055\u304b\u3063\u305f\u308a\u3059\u308b\u3057\u3001D\u8a00\u8a9e\u306eunittest block\u304c\u7fa8\u307e\u3057\u304b\u3063\u305f\u308a\u3059\u308b\u3057(\u3003l _ l) assertion\u4e08\u4f7f\u3072\u305f\u3044\u306e\u3067\u3001Module: Test::Unit::Assertions (Ruby 2.0)\u3092\u8aad\u307f\u8fbc\u3080\u3002 \u4e0b\u8a18\u3092\u8aad\u3081\u3070\u89e3\u308b\u3002 # license: Public Domain $DEBUG = true # @param test_name [String] def unittest test_name, &proc if $DEBUG include Test::Unit::Assertions proc.call puts \"#{test_nam\u2026","version":"1.0","url":"https://c4se.hatenablog.com/entry/2013/08/15/022137","type":"rich","author_name":"Kureduki_Maari","author_url":"https://blog.hatena.ne.jp/Kureduki_Maari/","provider_url":"https://hatena.blog"}