{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmasasuzu.hatenablog.jp%2Fentry%2F20090313%2F1236950634\" title=\"\u30c6\u30b9\u30c8\u99c6\u52d5\u958b\u767a\u5165\u9580\u3092Python\u3067\u5199\u7d4c\u3057\u3066\u307f\u305f\u3002 1 - \u76ee\u306e\u524d\u306b\u50d5\u3089\u306e\u9053\u304c\u3042\u308b\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","provider_name":"Hatena Blog","version":"1.0","width":"100%","description":"\u3053\u3046\u3067\u3059\u304b?\u3088\u304f\u5206\u304b\u308a\u307e\u305b\u3093\u3002 \u7b2c1\u7ae0 #coding : utf-8 \"\"\" \u30c6\u30b9\u30c8\u99c6\u52d5\u958b\u767a\u5165\u95801\u7ae0 \"\"\" import unittest class TestMoney(unittest.TestCase): def testMultiplication(self): five = Dollar(5) five.times(2) self.assertEqual(10, five.amount) class Dollar(object): amount = 0 def __init__(self, amount): self.amount = amount def times(self,\u2026","blog_url":"https://masasuzu.hatenablog.jp/","image_url":"http://ecx.images-amazon.com/images/I/51G6YEDVRKL.jpg","author_name":"masasuz","categories":["programing","python","TDD"],"height":"190","url":"https://masasuzu.hatenablog.jp/entry/20090313/1236950634","blog_title":"\u76ee\u306e\u524d\u306b\u50d5\u3089\u306e\u9053\u304c\u3042\u308b","type":"rich","title":"\u30c6\u30b9\u30c8\u99c6\u52d5\u958b\u767a\u5165\u9580\u3092Python\u3067\u5199\u7d4c\u3057\u3066\u307f\u305f\u3002 1","published":"2009-03-13 22:23:54","author_url":"https://blog.hatena.ne.jp/masasuz/","provider_url":"https://hatena.blog"}