├── .gitignore ├── README.md ├── chapter-01 ├── README.md ├── moneys │ ├── __init__.py │ └── dollar.py └── tests │ ├── __init__.py │ └── moneytests.py ├── chapter-02 ├── README.md ├── moneys │ ├── __init__.py │ └── dollar.py └── tests │ ├── __init__.py │ └── moneytests.py ├── chapter-03 ├── README.md ├── moneys │ ├── __init__.py │ └── dollar.py └── tests │ ├── __init__.py │ └── moneytests.py ├── chapter-04 ├── README.md ├── moneys │ ├── __init__.py │ └── dollar.py └── tests │ ├── __init__.py │ └── moneytests.py ├── chapter-05 ├── README.md ├── moneys │ ├── __init__.py │ ├── dollar.py │ └── franc.py └── tests │ ├── __init__.py │ └── moneytests.py ├── chapter-06 ├── README.md ├── moneys │ ├── __init__.py │ ├── dollar.py │ ├── franc.py │ └── money.py └── tests │ ├── __init__.py │ └── moneytests.py ├── chapter-07 ├── README.md ├── moneys │ ├── __init__.py │ ├── dollar.py │ ├── franc.py │ └── money.py └── tests │ ├── __init__.py │ └── moneytests.py ├── chapter-08 ├── README.md ├── moneys │ ├── __init__.py │ ├── dollar.py │ ├── franc.py │ └── money.py └── tests │ ├── __init__.py │ └── moneytests.py ├── chapter-09 ├── README.md ├── moneys │ ├── __init__.py │ ├── dollar.py │ ├── franc.py │ └── money.py └── tests │ ├── __init__.py │ └── moneytests.py ├── chapter-10 ├── README.md ├── moneys │ ├── __init__.py │ ├── dollar.py │ ├── franc.py │ └── money.py └── tests │ ├── __init__.py │ └── moneytests.py ├── chapter-11 ├── README.md ├── moneys │ ├── __init__.py │ └── money.py └── tests │ ├── __init__.py │ └── moneytests.py ├── chapter-12 ├── README.md ├── moneys │ ├── __init__.py │ ├── bank.py │ ├── expression.py │ └── money.py └── tests │ ├── __init__.py │ └── moneytests.py ├── chapter-13 ├── README.md ├── moneys │ ├── __init__.py │ ├── bank.py │ ├── money.py │ └── total.py └── tests │ ├── __init__.py │ └── moneytests.py ├── chapter-14 ├── README.md ├── moneys │ ├── __init__.py │ ├── bank.py │ ├── exchanger.py │ ├── money.py │ └── total.py └── tests │ ├── __init__.py │ └── moneytests.py ├── chapter-15 ├── README.md ├── moneys │ ├── __init__.py │ ├── bank.py │ ├── exchanger.py │ ├── money.py │ └── total.py └── tests │ ├── __init__.py │ └── moneytests.py └── chapter-16 ├── README.md ├── moneys ├── __init__.py ├── bank.py ├── exchanger.py ├── money.py └── total.py └── tests ├── __init__.py └── moneytests.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/README.md -------------------------------------------------------------------------------- /chapter-01/README.md: -------------------------------------------------------------------------------- 1 | ## 第1章 仮実装 2 | 3 | -------------------------------------------------------------------------------- /chapter-01/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-01/moneys/dollar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-01/moneys/dollar.py -------------------------------------------------------------------------------- /chapter-01/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-01/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-01/tests/moneytests.py -------------------------------------------------------------------------------- /chapter-02/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-02/README.md -------------------------------------------------------------------------------- /chapter-02/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-02/moneys/dollar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-02/moneys/dollar.py -------------------------------------------------------------------------------- /chapter-02/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-02/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-02/tests/moneytests.py -------------------------------------------------------------------------------- /chapter-03/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-03/README.md -------------------------------------------------------------------------------- /chapter-03/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-03/moneys/dollar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-03/moneys/dollar.py -------------------------------------------------------------------------------- /chapter-03/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-03/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-03/tests/moneytests.py -------------------------------------------------------------------------------- /chapter-04/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-04/README.md -------------------------------------------------------------------------------- /chapter-04/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-04/moneys/dollar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-04/moneys/dollar.py -------------------------------------------------------------------------------- /chapter-04/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-04/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-04/tests/moneytests.py -------------------------------------------------------------------------------- /chapter-05/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-05/README.md -------------------------------------------------------------------------------- /chapter-05/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-05/moneys/dollar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-05/moneys/dollar.py -------------------------------------------------------------------------------- /chapter-05/moneys/franc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-05/moneys/franc.py -------------------------------------------------------------------------------- /chapter-05/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-05/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-05/tests/moneytests.py -------------------------------------------------------------------------------- /chapter-06/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-06/README.md -------------------------------------------------------------------------------- /chapter-06/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-06/moneys/dollar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-06/moneys/dollar.py -------------------------------------------------------------------------------- /chapter-06/moneys/franc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-06/moneys/franc.py -------------------------------------------------------------------------------- /chapter-06/moneys/money.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-06/moneys/money.py -------------------------------------------------------------------------------- /chapter-06/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-06/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-06/tests/moneytests.py -------------------------------------------------------------------------------- /chapter-07/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-07/README.md -------------------------------------------------------------------------------- /chapter-07/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-07/moneys/dollar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-07/moneys/dollar.py -------------------------------------------------------------------------------- /chapter-07/moneys/franc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-07/moneys/franc.py -------------------------------------------------------------------------------- /chapter-07/moneys/money.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-07/moneys/money.py -------------------------------------------------------------------------------- /chapter-07/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-07/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-07/tests/moneytests.py -------------------------------------------------------------------------------- /chapter-08/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-08/README.md -------------------------------------------------------------------------------- /chapter-08/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-08/moneys/dollar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-08/moneys/dollar.py -------------------------------------------------------------------------------- /chapter-08/moneys/franc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-08/moneys/franc.py -------------------------------------------------------------------------------- /chapter-08/moneys/money.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-08/moneys/money.py -------------------------------------------------------------------------------- /chapter-08/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-08/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-08/tests/moneytests.py -------------------------------------------------------------------------------- /chapter-09/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-09/README.md -------------------------------------------------------------------------------- /chapter-09/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-09/moneys/dollar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-09/moneys/dollar.py -------------------------------------------------------------------------------- /chapter-09/moneys/franc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-09/moneys/franc.py -------------------------------------------------------------------------------- /chapter-09/moneys/money.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-09/moneys/money.py -------------------------------------------------------------------------------- /chapter-09/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-09/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-09/tests/moneytests.py -------------------------------------------------------------------------------- /chapter-10/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-10/README.md -------------------------------------------------------------------------------- /chapter-10/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-10/moneys/dollar.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-10/moneys/dollar.py -------------------------------------------------------------------------------- /chapter-10/moneys/franc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-10/moneys/franc.py -------------------------------------------------------------------------------- /chapter-10/moneys/money.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-10/moneys/money.py -------------------------------------------------------------------------------- /chapter-10/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-10/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-10/tests/moneytests.py -------------------------------------------------------------------------------- /chapter-11/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-11/README.md -------------------------------------------------------------------------------- /chapter-11/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-11/moneys/money.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-11/moneys/money.py -------------------------------------------------------------------------------- /chapter-11/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-11/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-11/tests/moneytests.py -------------------------------------------------------------------------------- /chapter-12/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-12/README.md -------------------------------------------------------------------------------- /chapter-12/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-12/moneys/bank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-12/moneys/bank.py -------------------------------------------------------------------------------- /chapter-12/moneys/expression.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-12/moneys/expression.py -------------------------------------------------------------------------------- /chapter-12/moneys/money.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-12/moneys/money.py -------------------------------------------------------------------------------- /chapter-12/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-12/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-12/tests/moneytests.py -------------------------------------------------------------------------------- /chapter-13/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-13/README.md -------------------------------------------------------------------------------- /chapter-13/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-13/moneys/bank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-13/moneys/bank.py -------------------------------------------------------------------------------- /chapter-13/moneys/money.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-13/moneys/money.py -------------------------------------------------------------------------------- /chapter-13/moneys/total.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-13/moneys/total.py -------------------------------------------------------------------------------- /chapter-13/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-13/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-13/tests/moneytests.py -------------------------------------------------------------------------------- /chapter-14/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-14/README.md -------------------------------------------------------------------------------- /chapter-14/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-14/moneys/bank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-14/moneys/bank.py -------------------------------------------------------------------------------- /chapter-14/moneys/exchanger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-14/moneys/exchanger.py -------------------------------------------------------------------------------- /chapter-14/moneys/money.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-14/moneys/money.py -------------------------------------------------------------------------------- /chapter-14/moneys/total.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-14/moneys/total.py -------------------------------------------------------------------------------- /chapter-14/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-14/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-14/tests/moneytests.py -------------------------------------------------------------------------------- /chapter-15/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-15/README.md -------------------------------------------------------------------------------- /chapter-15/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-15/moneys/bank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-15/moneys/bank.py -------------------------------------------------------------------------------- /chapter-15/moneys/exchanger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-15/moneys/exchanger.py -------------------------------------------------------------------------------- /chapter-15/moneys/money.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-15/moneys/money.py -------------------------------------------------------------------------------- /chapter-15/moneys/total.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-15/moneys/total.py -------------------------------------------------------------------------------- /chapter-15/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-15/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-15/tests/moneytests.py -------------------------------------------------------------------------------- /chapter-16/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-16/README.md -------------------------------------------------------------------------------- /chapter-16/moneys/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /chapter-16/moneys/bank.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-16/moneys/bank.py -------------------------------------------------------------------------------- /chapter-16/moneys/exchanger.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-16/moneys/exchanger.py -------------------------------------------------------------------------------- /chapter-16/moneys/money.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-16/moneys/money.py -------------------------------------------------------------------------------- /chapter-16/moneys/total.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-16/moneys/total.py -------------------------------------------------------------------------------- /chapter-16/tests/__init__.py: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /chapter-16/tests/moneytests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/piroron/python-tdd/HEAD/chapter-16/tests/moneytests.py --------------------------------------------------------------------------------