- 建立一個
Holiday
class,以及一個 public methodgetTheme
回傳字串,判斷現在日期是否為聖誕節- 若是,則回傳
Xmas
- 若不是,則回傳
not Xmas
- 若是,則回傳
- 測試情境
5月18號
不是聖誕節12月25號
是聖誕節12月24號
是聖誕節
mpp21x/190518UnitTestExerciseXmas-
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published