docs: 补齐各模块局部回归测试的输入与断言说明
This commit is contained in:
@@ -189,6 +189,7 @@ mod tests {
|
||||
use super::*;
|
||||
use crate::{layout::Size, ui_bridge::UiKind};
|
||||
#[test]
|
||||
/// 同VM中两Presentation分别布局共享树,尺寸/出现身份独立;读观察可追踪共享对象但不能增添GC根。
|
||||
fn independent_view_geometry_and_shared_vm_reads_do_not_add_roots() {
|
||||
// 测试在同一 VM 中建立两个 Presentation,验证各自布局尺寸/出现 ID 独立,读取依赖共享业务对象。
|
||||
let mut vm = Vm::new().unwrap();
|
||||
|
||||
Reference in New Issue
Block a user