org.shapelogic.imageprocessing
Class DirectionBasedVectorizerTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.shapelogic.imageprocessing.AbstractImageProcessingTests
              extended by org.shapelogic.imageprocessing.DirectionBasedVectorizerTest
All Implemented Interfaces:
junit.framework.Test

public class DirectionBasedVectorizerTest
extends AbstractImageProcessingTests

Author:
Sami Badawi

Constructor Summary
DirectionBasedVectorizerTest()
           
 
Method Summary
protected  void setUp()
           
 void te_stFailImage()
          This is an test for new images with problems, should only be used when there are problems
 void testBigCircle()
          This is an test for new images with problems, should only be used when there are problems
 void testElongatedX()
          This test did not work for the DirectionBasedVectorizer That is the reason that I created a new vectorizer: MaxDistanceVectorizer
 void testShortRotatedTThin()
           
 void testShortVertical()
           
 void testShortVerticalAndHorizontal()
           
 void testSmallThinTriangle()
           
 void testThinDiagonal()
           
 void testThinLBracket()
           
 void testThinPlus()
           
 void testThinProblematicL()
           
 
Methods inherited from class org.shapelogic.imageprocessing.AbstractImageProcessingTests
assertEmptyCollection, dummyTest, printAnnotaions, printLines, printPoints, printPolygon
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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
 

Constructor Detail

DirectionBasedVectorizerTest

public DirectionBasedVectorizerTest()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class AbstractImageProcessingTests
Throws:
java.lang.Exception

testShortVertical

public void testShortVertical()

testShortVerticalAndHorizontal

public void testShortVerticalAndHorizontal()

testShortRotatedTThin

public void testShortRotatedTThin()

testThinProblematicL

public void testThinProblematicL()

testThinDiagonal

public void testThinDiagonal()

testSmallThinTriangle

public void testSmallThinTriangle()

testThinLBracket

public void testThinLBracket()

testElongatedX

public void testElongatedX()
This test did not work for the DirectionBasedVectorizer That is the reason that I created a new vectorizer: MaxDistanceVectorizer


testThinPlus

public void testThinPlus()

testBigCircle

public void testBigCircle()
This is an test for new images with problems, should only be used when there are problems


te_stFailImage

public void te_stFailImage()
This is an test for new images with problems, should only be used when there are problems



Copyright © 2009. All Rights Reserved.