org.shapelogic.polygon
Class Calculator2DTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.shapelogic.polygon.Calculator2DTest
- All Implemented Interfaces:
- junit.framework.Test
public class Calculator2DTest
- extends junit.framework.TestCase
- Author:
- Sami Badawi
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toString |
Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Calculator2DTest
public Calculator2DTest()
testHatPoint
public void testHatPoint()
testDotProduct
public void testDotProduct()
testCrossProduct
public void testCrossProduct()
testDistanceOfPointToLine
public void testDistanceOfPointToLine()
- This is signed
testScaleLineFromStartPoint
public void testScaleLineFromStartPoint()
testPointToLine
public void testPointToLine()
testProjectionOfPointOnLine
public void testProjectionOfPointOnLine()
testInverseLine
public void testInverseLine()
testAddLines
public void testAddLines()
testIntersectionOfLines
public void testIntersectionOfLines()
testIntersectionOfLinesDouble
public void testIntersectionOfLinesDouble()
testToCPointDouble
public void testToCPointDouble()
testToCPointInt
public void testToCPointInt()
testToCPointIntIfPossible
public void testToCPointIntIfPossible()
testLinesParallel
public void testLinesParallel(org.shapelogic.polygon.CLine line1,
org.shapelogic.polygon.CLine line2)
testIntersectionOfLinesInt
public void testIntersectionOfLinesInt()
testDirectionBetweenNeighborPoints
public void testDirectionBetweenNeighborPoints()
Copyright © 2009. All Rights Reserved.