Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
w1th0utnam3 committed Nov 10, 2022
1 parent 89c920c commit 71ec2e5
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions tests/unit.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
use std::path::Path;
use nalgebra::{DefaultAllocator, DimName};
use nalgebra::allocator::Allocator;
use fenris::io::vtk::{FiniteElementMeshDataSetBuilder, VtkCellConnectivity};
use fenris::mesh::Mesh;
use nalgebra::allocator::Allocator;
use nalgebra::{DefaultAllocator, DimName};
use std::path::Path;

mod unit_tests;

fn export_mesh_vtk<D, C>(test_name: &str, file_stem: &str, mesh: &Mesh<f64, D, C>)
where
D: DimName,
DefaultAllocator: Allocator<f64, D>,
C: VtkCellConnectivity,
where
D: DimName,
DefaultAllocator: Allocator<f64, D>,
C: VtkCellConnectivity,
{
let output_path = Path::new("data/unit_tests/")
.join(test_name)
Expand All @@ -19,4 +19,3 @@ fn export_mesh_vtk<D, C>(test_name: &str, file_stem: &str, mesh: &Mesh<f64, D, C
.try_export(output_path)
.expect("Export failure is a test failure")
}

0 comments on commit 71ec2e5

Please sign in to comment.