Skip to content

Commit b882749

Browse files
committed
reenable tests
1 parent f2c1826 commit b882749

File tree

7 files changed

+7
-15
lines changed

7 files changed

+7
-15
lines changed

src/test/java/eu/mihosoft/vrl/v3d/DodecahedronTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ public void test() throws IOException {
2323
assertTrue(dodecahedron.intersect(box).getPolygons().size() == 0);
2424
assertTrue(insphere.difference(dodecahedron).getPolygons().size() == 0);
2525

26-
// FileUtil.write(Paths.get("dodecahedron.stl"),
27-
// dodecahedron.toStlString());
26+
FileUtil.write(Paths.get("dodecahedron.stl"),
27+
dodecahedron.toStlString());
2828
}
2929

3030
}

src/test/java/eu/mihosoft/vrl/v3d/Objtest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ public void test() throws IOException {
1919
.split("# Faces")[1]
2020
.split("# End")[0].trim();
2121
assertFalse(s.length()<4);
22-
// FileUtil.write(Paths.get("test.obj"),
23-
// csg.toObjString());
22+
FileUtil.write(Paths.get("test.obj"),
23+
csg.toObjString());
2424
// csg.toObj().toFiles(Paths.get("test2.obj"));
2525
}
2626

src/test/java/eu/mihosoft/vrl/v3d/OctahedronTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ public void test() throws IOException {
2323
assertTrue(octahedron.intersect(box).getPolygons().size() == 0);
2424
assertTrue(insphere.difference(octahedron).getPolygons().size() == 0);
2525

26-
// FileUtil.write(Paths.get("octahedron.stl"),
27-
// octahedron.toStlString());
26+
FileUtil.write(Paths.get("octahedron.stl"),
27+
octahedron.toStlString());
2828
}
2929

3030
}

src/test/java/eu/mihosoft/vrl/v3d/SVGLoadTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ public void vows() throws IOException {
5757
}
5858
//Alexes_Bad.svg
5959
@Test
60-
@Ignore
6160
public void flame() throws IOException {
6261

6362
JavaFXInitializer.go();
@@ -91,7 +90,6 @@ public void flame() throws IOException {
9190
}
9291
//Alexes_Bad.svg
9392
@Test
94-
@Ignore
9593
public void Alexes_Bad() throws IOException {
9694
//
9795
// JavaFXInitializer.go();
@@ -123,7 +121,6 @@ public void Alexes_Bad() throws IOException {
123121
// parts.get(i).toStlString());
124122
}
125123
@Test
126-
@Ignore
127124
public void box() throws IOException {
128125
JavaFXInitializer.go();
129126
File svg = new File("box.svg");
@@ -163,7 +160,6 @@ public void inside() throws IOException {
163160
parts.get(i).toStlString());
164161
}
165162
@Test
166-
@Ignore
167163
public void adversarial() throws IOException {
168164
JavaFXInitializer.go();
169165
File svg = new File("Part-Num-0.svg");
@@ -184,7 +180,6 @@ public void adversarial() throws IOException {
184180

185181

186182
@Test
187-
@Ignore
188183
public void test() throws IOException {
189184
File svg = new File("Test.SVG");
190185
if (!svg.exists())

src/test/java/eu/mihosoft/vrl/v3d/SliceTest.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
public class SliceTest {
1717
@Test
18-
@Ignore
18+
1919
public void slice() throws Exception {
2020
// Create a CSG to slice
2121
CSG carrot = new Cube(10, 10, 10).toCSG();
@@ -30,7 +30,6 @@ public void slice() throws Exception {
3030
}
3131

3232
@Test
33-
@Ignore
3433
public void sliceWithHole() throws Exception {
3534
// Create a CSG to slice
3635
CSG carrot = new Cube(10, 10, 10).toCSG().difference(new Cube(4, 4, 100).toCSG());

src/test/java/eu/mihosoft/vrl/v3d/StlLoadTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
public class StlLoadTest {
1616

1717
@Test
18-
@Ignore
1918
public void test() throws IOException {
2019
String filename = "brokenSTL.STL";
2120
File file = new File(filename);

src/test/java/eu/mihosoft/vrl/v3d/SvgExportTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
public class SvgExportTest {
2020

2121
@Test
22-
@Ignore
2322
public void slicetest() throws IOException, ColinearPointsException {
2423
double normalInsetDistance = 0;
2524
Transform slicePlane = new Transform();

0 commit comments

Comments
 (0)