Fixing tests

This commit is contained in:
LarsBrubaker 2022-05-15 16:43:35 -07:00
parent a6076ff68c
commit d1d5a907de
3 changed files with 7 additions and 3 deletions

View file

@ -2446,6 +2446,9 @@ Translated:Item cannot be exported as MCX
English:Item not Found
Translated:Item not Found
English:Items To Subtract
Translated:Items To Subtract
English:Iterations
Translated:Iterations

@ -1 +1 @@
Subproject commit 4f6fa9fdfaaafeee73a8bf7921e782746e42fdb5
Subproject commit c98661b576454f55ca918e5e20eea0c9e0414ef5

View file

@ -624,6 +624,7 @@ namespace MatterControl.Tests.MatterControl
new Object3D() { Mesh = meshB },
},
new CancellationToken());
StlProcessing.Save(mesh, @"C:\temp\temp.stl", new CancellationToken());
Assert.AreEqual(12, mesh.Faces.Count());
var aabb = mesh.GetAxisAlignedBoundingBox();
Assert.AreEqual(20, aabb.YSize, .001);
@ -649,9 +650,9 @@ namespace MatterControl.Tests.MatterControl
},
new CancellationToken());
StlProcessing.Save(mesh, @"C:\temp\temp.stl", new CancellationToken());
Assert.AreEqual(20, mesh.Faces.Count());
Assert.AreEqual(44, mesh.Faces.Count());
var aabb = mesh.GetAxisAlignedBoundingBox();
Assert.AreEqual(16, aabb.YSize, .001);
Assert.AreEqual(10, aabb.YSize, .001);
}
}