Skip to content

Commit 17b4e82

Browse files
mmsfm - fix formatting for tests.
1 parent af7879f commit 17b4e82

11 files changed

+4
-11
lines changed

lib/rust/mmsfm/tests/camera_pose_from_bundles_cube2_a_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
// ====================================================================
1919
//
2020

21-
2221
#![allow(unused)]
2322
#![allow(unused_imports)]
2423
#![allow(dead_code)]

lib/rust/mmsfm/tests/camera_pose_from_bundles_cube2_b_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
// ====================================================================
1919
//
2020

21-
2221
#![allow(unused)]
2322
#![allow(unused_imports)]
2423
#![allow(dead_code)]

lib/rust/mmsfm/tests/camera_pose_from_bundles_cube2_c_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
// ====================================================================
1919
//
2020

21-
2221
#![allow(unused)]
2322
#![allow(unused_imports)]
2423
#![allow(dead_code)]

lib/rust/mmsfm/tests/camera_pose_from_bundles_cube2_d_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
// ====================================================================
1919
//
2020

21-
2221
#![allow(unused)]
2322
#![allow(unused_imports)]
2423
#![allow(dead_code)]

lib/rust/mmsfm/tests/camera_pose_from_bundles_cube_b_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
// ====================================================================
1919
//
2020

21-
2221
#![allow(unused)]
2322
#![allow(unused_imports)]
2423
#![allow(dead_code)]

lib/rust/mmsfm/tests/camera_pose_from_bundles_cube_c_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
// ====================================================================
1919
//
2020

21-
2221
#![allow(unused)]
2322
#![allow(unused_imports)]
2423
#![allow(dead_code)]

lib/rust/mmsfm/tests/camera_pose_from_bundles_cube_d_test.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
// ====================================================================
1919
//
2020

21-
2221
#![allow(unused)]
2322
#![allow(unused_imports)]
2423
#![allow(dead_code)]

lib/rust/mmsfm/tests/triangulation_basic_a_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ use nalgebra::Point3;
4646
fn triangulation_a_test() -> Result<()> {
4747
let config = CameraConfiguration::new_pan(
4848
Point3::new(10.0, 0.0, 0.0), // 10 units to the right.
49-
30.0, // 30 degrees left pan.
49+
30.0, // 30 degrees left pan.
5050
);
5151
let (pose_a, pose_b, intrinsics_a, intrinsics_b) =
5252
create_synthetic_camera_setup_with_config(&config)?;

lib/rust/mmsfm/tests/triangulation_basic_b_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ use nalgebra::Point3;
4646
fn triangulation_b_test() -> Result<()> {
4747
let config = CameraConfiguration::new_pan(
4848
Point3::new(-10.0, 0.0, 0.0), // 10 units to the left.
49-
-45.0, // 45 degrees right pan.
49+
-45.0, // 45 degrees right pan.
5050
);
5151
let (pose_a, pose_b, intrinsics_a, intrinsics_b) =
5252
create_synthetic_camera_setup_with_config(&config)?;

lib/rust/mmsfm/tests/triangulation_basic_c_test.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ use nalgebra::Point3;
4646
fn triangulation_c_test() -> Result<()> {
4747
let config = CameraConfiguration::new_tilt(
4848
Point3::new(0.0, 5.0, 0.0), // 5 units up.
49-
-10.0, // 10 degrees down tilt.
49+
-10.0, // 10 degrees down tilt.
5050
);
5151
let (pose_a, pose_b, intrinsics_a, intrinsics_b) =
5252
create_synthetic_camera_setup_with_config(&config)?;

0 commit comments

Comments
 (0)