Files
coding-practice/problems/3025-find-the-number-of-ways-to-place-people-i/test/edge_cases.md

14 lines
701 B
Markdown

# 邊界情況清單
## 需要測試的邊界情況
- [x] 空輸入 (空陣列) - `TestEdgeCases_EmptyArray`
- [x] 最少元素 (n=2) - `TestEdgeCases_MinimumPoints`
- [x] 重複座標 (雖然違反題目條件) - `TestEdgeCases_IdenticalCoordinates`
- [x] 最大值/最小值 (座標範圍 [0,50]) - `TestEdgeCases_MaxCoordinateValues`
- [x] 最大資料量 (n=50) - `TestEdgeCases_MaxPoints_AllDistinct_RandomPattern`
- [x] 相同 x 座標 - `TestCase4_SameXCoordinate`
- [x] 相同 y 座標 - `TestCase5_SameYCoordinate`
- [x] 矩形內含其他點 - `TestCase6_PointsInsideRectangle`
- [x] 點在矩形邊界上 - `TestCase7_PointsOnBorder`
- [x] 無有效點對情況 - `TestCase3_NoValidPairs`