Skip to content
Permalink
Browse files
fixing test and checkstyle failures in examples-io
  • Loading branch information
darkma773r committed Dec 8, 2020
1 parent 9ea399c commit eab4a9b3471dc54f770147f537978b4ce73f7c85
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
@@ -43,7 +43,7 @@ public class ModelIOTest {
new EpsilonDoublePrecisionContext(TEST_EPS);

@TempDir
File anotherTempDir;
protected File anotherTempDir;

@Test
public void testGetHandler() {
@@ -51,7 +51,7 @@ public class OBJModelIOHandlerTest {
private static final int CUBE_MINUS_SPHERE_FACES = 728;

@TempDir
File anotherTempDir;
protected File anotherTempDir;

private OBJModelIOHandler handler = new OBJModelIOHandler();

@@ -172,7 +172,7 @@ public void testWrite_toFile_unsupportedFormat() throws Exception {
@Test
public void testWrite_toFile_ioException() throws Exception {
// arrange
File out = new File(anotherTempDir, "notafile");
File out = new File(anotherTempDir, "notafolder/notafile");
BoundarySource3D src = BoundarySource3D.from(
Planes.triangleFromVertices(Vector3D.ZERO, Vector3D.of(1, 0, 0), Vector3D.of(0, 1, 0), TEST_PRECISION)
);

0 comments on commit eab4a9b

Please sign in to comment.