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