docs: 补齐各模块局部回归测试的输入与断言说明
This commit is contained in:
@@ -169,6 +169,7 @@ impl State {
|
||||
mod tests {
|
||||
use super::*;
|
||||
#[test]
|
||||
/// 先展开绘制再折叠重绘,检查交互目标只剩 Toggle、页面左侧让宽归零,其他区域不再拦截指针。
|
||||
fn collapsing_removes_every_host_target_except_the_toggle() {
|
||||
let mut sidebar = State::default();
|
||||
sidebar.draw(&[], 800.0, theme::PALETTE[0]);
|
||||
|
||||
Reference in New Issue
Block a user