GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - mather/TDD-sample-code: 「テスト駆動開発入門」をRubyでやってみる

BranchesTags
Open more actions menu

Latest commit

 

History

36 Commits
36 Commits

Folders and files

NameName
Last commit message
Last commit date
.rspec
.rspec
 
 
README.textile
README.textile
 
 
money.rb
money.rb
 
 
money_spec.rb
money_spec.rb
 
 

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

Readme
Activity

Stars

4 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.