From fe140e20dcbac6b376e25f2d852cd2f1e02da698 Mon Sep 17 00:00:00 2001 From: Andreas Reich Date: Mon, 15 Jul 2024 15:49:24 +0200 Subject: [PATCH] fix rust transform3d test --- crates/store/re_types/tests/transform3d.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/crates/store/re_types/tests/transform3d.rs b/crates/store/re_types/tests/transform3d.rs index 2f9738a7996a..72edeaed9b6c 100644 --- a/crates/store/re_types/tests/transform3d.rs +++ b/crates/store/re_types/tests/transform3d.rs @@ -22,8 +22,8 @@ fn roundtrip() { from_parent: false, }, )), - mat3x3: Some(Vec::new()), - translation: Some(Vec::new()), + mat3x3: None, + translation: None, axis_length: None, }, // Transform3D { @@ -35,7 +35,7 @@ fn roundtrip() { from_parent: true, }, )), - mat3x3: Some(Vec::new()), + mat3x3: None, translation: Some(vec![Vec3D([1.0, 2.0, 3.0]).into()]), axis_length: None, }, // @@ -51,7 +51,7 @@ fn roundtrip() { from_parent: false, }, )), - mat3x3: Some(Vec::new()), + mat3x3: None, translation: Some(vec![Vec3D([1.0, 2.0, 3.0]).into()]), axis_length: None, }, // @@ -67,7 +67,7 @@ fn roundtrip() { from_parent: true, }, )), - mat3x3: Some(Vec::new()), + mat3x3: None, translation: Some(vec![Vec3D([1.0, 2.0, 3.0]).into()]), axis_length: None, }, // @@ -80,7 +80,7 @@ fn roundtrip() { from_parent: true, }, )), - mat3x3: Some(Vec::new()), + mat3x3: None, translation: Some(vec![Vec3D([1.0, 2.0, 3.0]).into()]), axis_length: None, }, // @@ -96,7 +96,7 @@ fn roundtrip() { mat3x3: Some(vec![ Mat3x3([1.0, 2.0, 3.0, 4.0, 5.0, 6.0, 7.0, 8.0, 9.0]).into() ]), - translation: Some(Vec::new()), + translation: None, axis_length: None, }, // ];