test(selection): 像素判据从「存在性」改成「逐处都对」(复审 P2-4)
- 20(±1) 的 Primary 块:**每一块**都不许超过 21(22 = 描边画到框外),且总数恰好 12 - 状态层:**每一块** Ø40 都要四角无墨(原来只看两块角点),数量 ≥5 - switch 轨道 **恰好一块** 52×32、chip **恰好一块** 32 高(原来 any(...) 就算过) - 新增 P2-1 / P2-3 的像素断言:禁用 chip 4 块完整宽度 + filter·on 仍填充;20×20 禁用块不许是 12% - 断言与像素扫描搬到 selection/probe.rs + selection/pixel.rs:gallery/selection.rs 只剩「摆矩阵」 (原文件 458 行,超 400 红线)
This commit is contained in:
1 parent
0c9d4049b3
commit
4155429f45
4 files changed
+539
-368
No files matched your search
@@ -33,6 +33,10 @@ pub mod geometry;
|
||||
pub mod matrix;
|
||||
pub mod paint;
|
||||
|
||||
#[cfg(test)]
|
||||
mod pixel;
|
||||
#[cfg(test)]
|
||||
mod probe;
|
||||
#[cfg(test)]
|
||||
mod tests;
|
||||
|
||||
|
||||
Reference in new issue
Block a user