Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

mather/TDD-sample-code

Open more actions menu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
36 Commits
 
 
 
 
 
 
 
 

Repository files navigation

テスト駆動開発入門 Ruby版サンプルコード

概要

勉強中のコードです。

TODO

  • レートが2:1の場合、$5 + 10 CHF = $10
  • $5 × 2 = $10
  • amount のプライベート化
  • Dollarの副作用
  • Moneyの丸め処理
  • 等価性(==)
  • nilとの等価性?
  • Objectとの等価性
  • 5 CHF x 2 = 10 CHF
  • Dollar と Franc の重複
  • 等価性の一般化
  • timesの一般化
  • FrancとDollarの比較
  • 通貨
  • Francの積の計算を除去
  • (Ruby)クラスメソッド実装を排除(pending)

About

「テスト駆動開発入門」をRubyでやってみる

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

Morty Proxy This is a proxified and sanitized view of the page, visit original site.