mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-16 23:42:27 +00:00
Fix merged FBX test boundaries
This commit is contained in:
1 parent
095ba1ce29
commit
1448b89a2a
1 file changed
+3
@@ -771,6 +771,9 @@ fn fbx_corner_colors_keep_seams_and_incomplete_layers_are_omitted() {
|
||||
assert!(colors.contains(&[1.0, 0.0, 1.0, 1.0]));
|
||||
let incomplete = text.replace(", 1,0,1,1\n}", "\n}");
|
||||
assert!(parse(incomplete.as_bytes()).unwrap().meshes[0].colors.is_empty());
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn ascii_budget_applies_while_reading_values_and_records() {
|
||||
let limits = Limits { max_data_bytes: 512, ..Limits::default() };
|
||||
let many_values = format!("Objects: {{\n A: {}\n}}", "1,".repeat(1000));
|
||||
|
||||
Reference in new issue
Block a user