feat(utils, templates, docs): file-based templates + stronger README
This commit is contained in:
20
templates/problem/test/edge_cases.md.tmpl
Normal file
20
templates/problem/test/edge_cases.md.tmpl
Normal file
@@ -0,0 +1,20 @@
|
||||
# 邊界情況清單({{NUMBER}} {{NAME_TITLE}})
|
||||
|
||||
## 需要測試的邊界
|
||||
- [ ] 空輸入 / 單一元素
|
||||
- [ ] 重複元素 / 全相同
|
||||
- [ ] 極值(最小/最大)
|
||||
- [ ] 含負數 / 0 / 大數
|
||||
- [ ] 大資料量(接近上限)
|
||||
|
||||
## 額外案例
|
||||
### 案例 1
|
||||
- 輸入:
|
||||
- 預期:
|
||||
- 說明:
|
||||
|
||||
### 案例 2
|
||||
- 輸入:
|
||||
- 預期:
|
||||
- 說明:
|
||||
|
Reference in New Issue
Block a user