1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
use crate::{ // geometry::mesh::tessellation::{ // Tessellation, // write::test::{CONNECTIVITY, COORDINATES, NORMALS}, // }, math::test::{ TestError, // assert_eq }, }; // use std::path::Path; #[test] fn consistency() -> Result<(), TestError> { // let tessellation = Tessellation::<1, usize>::try_from(Path::new("target/foo.stl"))?; // assert_eq!(tessellation.mesh.connectivity, CONNECTIVITY); // assert_eq(&tessellation.mesh.coordinates, &COORDINATES.into())?; // assert_eq(&tessellation.normals, &NORMALS.into()) Ok(()) }