mirror of
https://github.com/redstrate/Physis.git
synced 2025-04-20 11:47:46 +00:00
Check more fields in read_empty_planlive test
This commit is contained in:
parent
6392f97fe7
commit
0e68cf366f
1 changed files with 7 additions and 0 deletions
|
@ -804,7 +804,14 @@ mod tests {
|
|||
d.push("empty_planlive.lgb");
|
||||
|
||||
let lgb = LayerGroup::from_existing(&read(d).unwrap()).unwrap();
|
||||
assert_eq!(lgb.file_id, LGB1_ID);
|
||||
assert_eq!(lgb.chunks.len(), 1);
|
||||
|
||||
let chunk = &lgb.chunks[0];
|
||||
assert_eq!(chunk.chunk_id, LGP1_ID);
|
||||
assert_eq!(chunk.layer_group_id, 261);
|
||||
assert_eq!(chunk.name, "PlanLive".to_string());
|
||||
assert!(chunk.layers.is_empty());
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
|
Loading…
Add table
Reference in a new issue