docs: 补齐各模块局部回归测试的输入与断言说明
This commit is contained in:
@@ -48,6 +48,7 @@ mod tests {
|
||||
use super::*;
|
||||
|
||||
#[test]
|
||||
/// 矩形左上/右下边界均包含,刚越过左边界的点排除,固定基础命中边界策略。
|
||||
fn rectangle_contains_edges_but_not_outside_points() {
|
||||
// 同时验证左上和右下边界被包含,以及仅越过左边界的小偏差也会被排除。
|
||||
let rect = Rect::new(10.0, 20.0, 30.0, 40.0);
|
||||
|
||||
Reference in New Issue
Block a user