From dd1530adc3970c243e7215d6191251545a1b0c06 Mon Sep 17 00:00:00 2001 From: "nathan.eckert" Date: Thu, 8 Jul 2021 14:20:35 +0200 Subject: [PATCH] Cargo fmt --- tests/core/matrix.rs | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/core/matrix.rs b/tests/core/matrix.rs index 60007846..eaa252db 100644 --- a/tests/core/matrix.rs +++ b/tests/core/matrix.rs @@ -1109,11 +1109,10 @@ fn partial_eq_different_types() { //assert_ne!(typenum_static_mat, static_mat); } - - fn generic_omatrix_to_string( vector: &nalgebra::OVector, - matrix: &nalgebra::OMatrix) -> (String, String) + matrix: &nalgebra::OMatrix, +) -> (String, String) where D: nalgebra::Dim, nalgebra::DefaultAllocator: nalgebra::base::allocator::Allocator, @@ -1130,8 +1129,10 @@ fn omatrix_to_string() { let smatr: nalgebra::SMatrix = nalgebra::matrix![1.0, 2.0; 3.0, 4.0]; assert_eq!( generic_omatrix_to_string(&dvec, &dmatr), - (dvec.to_string(), dmatr.to_string())); + (dvec.to_string(), dmatr.to_string()) + ); assert_eq!( generic_omatrix_to_string(&svec, &smatr), - (svec.to_string(), smatr.to_string())); + (svec.to_string(), smatr.to_string()) + ); }