Skip to content

Commit 71ec2e5

Browse files
committed
Formatting
1 parent 89c920c commit 71ec2e5

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

tests/unit.rs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
1-
use std::path::Path;
2-
use nalgebra::{DefaultAllocator, DimName};
3-
use nalgebra::allocator::Allocator;
41
use fenris::io::vtk::{FiniteElementMeshDataSetBuilder, VtkCellConnectivity};
52
use fenris::mesh::Mesh;
3+
use nalgebra::allocator::Allocator;
4+
use nalgebra::{DefaultAllocator, DimName};
5+
use std::path::Path;
66

77
mod unit_tests;
88

99
fn export_mesh_vtk<D, C>(test_name: &str, file_stem: &str, mesh: &Mesh<f64, D, C>)
10-
where
11-
D: DimName,
12-
DefaultAllocator: Allocator<f64, D>,
13-
C: VtkCellConnectivity,
10+
where
11+
D: DimName,
12+
DefaultAllocator: Allocator<f64, D>,
13+
C: VtkCellConnectivity,
1414
{
1515
let output_path = Path::new("data/unit_tests/")
1616
.join(test_name)
@@ -19,4 +19,3 @@ fn export_mesh_vtk<D, C>(test_name: &str, file_stem: &str, mesh: &Mesh<f64, D, C
1919
.try_export(output_path)
2020
.expect("Export failure is a test failure")
2121
}
22-

0 commit comments

Comments
 (0)