org.shapelogic.imageprocessing
Class LetterMatchingStreamVectorizerTest

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

public class LetterMatchingStreamVectorizerTest
extends BaseLetterMatchingMaxDistanceVectorizerTests

LetterMatchingStreamVectorizerTest unit test for letter matching for StreamVectorizer.
The main letter matching and vectorization algorithm, that works for both straight and curved capital letters Note that this is sub classed from another unit test for more basic tests that only work for straight letters

Author:
Sami Badawi

Constructor Summary
LetterMatchingStreamVectorizerTest()
           
 
Method Summary
protected  void setUp()
           
 void simpleDigit(java.lang.String fileName)
           
 void test0()
           
 void test1()
           
 void test2()
           
 void test3()
           
 void test4()
           
 void test5()
           
 void test6()
           
 void test7()
           
 void test8()
           
 void test9()
           
 void testABC_LettersForHolesWithExternalRules()
           
 void testABC_LettersForHolesWithNeuralNetwork()
           
 void testABC()
           
 void testAWithMissingNeuralNetwork()
           
 void testAWithMissingRules()
           
 void testAWithMissingStreamNN()
          This match is done with a bad categorizer setup file meant for particles.
It should not throw an exception.
 void testAWithMissingStreamRules()
          This match is done with a bad categorizer setup file meant for particles.
It should not throw an exception.
 void testAWithNeuralNetwork()
           
 
Methods inherited from class org.shapelogic.imageprocessing.BaseLetterMatchingMaxDistanceVectorizerTests
testA, testB, testC, testD, testG, testJ, testO, testP, testQ, testR, testS, testU, testW
 
Methods inherited from class org.shapelogic.imageprocessing.BaseLetterMatchingForVectorizersTests
testE, testF, testH, testI, testK, testL, testM, testN, testT, testV, testX, testY, testZ
 
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

LetterMatchingStreamVectorizerTest

public LetterMatchingStreamVectorizerTest()
Method Detail

setUp

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

testABC

public void testABC()

testABC_LettersForHolesWithNeuralNetwork

public void testABC_LettersForHolesWithNeuralNetwork()

testABC_LettersForHolesWithExternalRules

public void testABC_LettersForHolesWithExternalRules()

test0

public void test0()

test1

public void test1()

simpleDigit

public void simpleDigit(java.lang.String fileName)

test2

public void test2()

test3

public void test3()

test4

public void test4()

test5

public void test5()

test6

public void test6()

test7

public void test7()

test8

public void test8()

test9

public void test9()

testAWithMissingNeuralNetwork

public void testAWithMissingNeuralNetwork()

testAWithNeuralNetwork

public void testAWithNeuralNetwork()

testAWithMissingRules

public void testAWithMissingRules()

testAWithMissingStreamNN

public void testAWithMissingStreamNN()
This match is done with a bad categorizer setup file meant for particles.
It should not throw an exception.


testAWithMissingStreamRules

public void testAWithMissingStreamRules()
This match is done with a bad categorizer setup file meant for particles.
It should not throw an exception.



Copyright © 2009. All Rights Reserved.