Python, nose | 18:46 | PHP × SimpleTest と平行して、Pythonのテストパッケージの一つの nose も試してみる。 参考サイトhttp://somethingaboutorange.com/mrl/projects/nose/0.11.1/index.html 第1章 複数通貨のMoneyオブジェクト sample1.py #!/usr/bin/env python2.5 #-*- coding: utf-8 -*- class Dollar(): def __init__(self, amount=0): self.amount = amount def times(self, multiplier): self.amount *= multiplier testDollar.py #!/usr/bin/envpython2.5 #-*- cod