Commit b82cebd0 authored by Guenter Paul Peters's avatar Guenter Paul Peters

tests now extend TestCase for convenience

git-svn-id: https://svn.math.tu-berlin.de/svn/jtem@247 f5b180c5-49ee-4939-b20e-b6ed35f0f7b7
parent 416aaaab
package de.jtem.halfedge;
import static org.junit.Assert.*;
import junit.framework.TestCase;
import org.junit.Test;
public class TestAssertionsOn {
public class TestAssertionsOn extends TestCase {
@Test
public void testAssertionsOn() {
......
package de.jtem.halfedge;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertTrue;
import java.util.List;
import junit.framework.TestCase;
import org.junit.Test;
import de.jtem.halfedge.util.HalfEdgeUtils;
public class TestBasicStuff {
public class TestBasicStuff extends TestCase {
static public class MyVertex extends Vertex<MyVertex,MyEdge,MyFace> {}
......
package de.jtem.halfedge;
import static org.junit.Assert.*;
import junit.framework.TestCase;
import org.junit.Test;
import de.jtem.halfedge.util.HalfEdgeUtils;
public class TestHalfEdgeDataStructure {
public class TestHalfEdgeDataStructure extends TestCase {
public static class MyVertex extends Vertex<MyVertex,MyEdge,MyFace> {}
public static class MyEdge extends Edge<MyVertex,MyEdge,MyFace> {}
......
package de.jtem.halfedge.util;
import static org.junit.Assert.*;
import static de.jtem.halfedge.util.HalfEdgeUtils.addCube;
import static de.jtem.halfedge.util.HalfEdgeUtils.addDodecahedron;
import static de.jtem.halfedge.util.HalfEdgeUtils.addIcosahedron;
import static de.jtem.halfedge.util.HalfEdgeUtils.addNGon;
import static de.jtem.halfedge.util.HalfEdgeUtils.addOctahedron;
import static de.jtem.halfedge.util.HalfEdgeUtils.addTetrahedron;
import static de.jtem.halfedge.util.HalfEdgeUtils.boundaryEdges;
import static de.jtem.halfedge.util.HalfEdgeUtils.constructFaceByVertices;
import static de.jtem.halfedge.util.HalfEdgeUtils.fillAllHoles;
import static de.jtem.halfedge.util.HalfEdgeUtils.fillHole;
import static de.jtem.halfedge.util.HalfEdgeUtils.incomingEdges;
import junit.framework.TestCase;
import org.junit.Test;
import de.jtem.halfedge.*;
import static de.jtem.halfedge.util.HalfEdgeUtils.*;
import de.jtem.halfedge.Edge;
import de.jtem.halfedge.Face;
import de.jtem.halfedge.HalfEdgeDataStructure;
import de.jtem.halfedge.Vertex;
public class TestHalfedgeUtils {
public class TestHalfedgeUtils extends TestCase{
// @Test
// public void testNeighboringVertices() {
......
......@@ -5,6 +5,8 @@ import static org.junit.Assert.assertTrue;
import java.util.List;
import junit.framework.TestCase;
import org.junit.Test;
import de.jtem.halfedge.Edge;
......@@ -12,7 +14,7 @@ import de.jtem.halfedge.Face;
import de.jtem.halfedge.HalfEdgeDataStructure;
import de.jtem.halfedge.Vertex;
public class TestIsValidSurface {
public class TestIsValidSurface extends TestCase {
// Further tests of isValidSurface are contained in TestBasicStuff.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment