-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ 【第7章 疑念をテストに翻訳する】Money から派生した Franc と Dollar は同じはずなのでそれの比較を追加する
・Franc と Dollar を比較し同じことだという疑念をはらす ・Money クラスで equals は amount の比較を行っているが TypeScript が Cast を行ってくれているため、動作するようになっている(Javaだと落ちる
- Loading branch information
1 parent
e8384a9
commit 870259b
Showing
2 changed files
with
9 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,3 +11,4 @@ | |
- [ ] Dollar と Franc の重複 | ||
- [x] equalsの一般化 | ||
- [ ] timesの一般化 | ||
- [x] FrancとDollarの比較 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters