org.shapelogic.machinelearning
Class FFNeuralNetworkWeightsParserTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.shapelogic.machinelearning.FFNeuralNetworkWeightsParserTest
All Implemented Interfaces:
junit.framework.Test

public class FFNeuralNetworkWeightsParserTest
extends junit.framework.TestCase

Test of FFNeuralNetworkWeightsParser.

Author:
Sami Badawi

Field Summary
static java.lang.String COMMENTS
           
protected  java.lang.String dir
           
static java.lang.String INPUT_BLOCK_START
           
static java.lang.String INPUT_NO_PRINT
           
static java.lang.String INPUT_ONLY_PRINT
           
static java.lang.String INPUT_RULES
           
 
Constructor Summary
FFNeuralNetworkWeightsParserTest()
           
 
Method Summary
 void testDefaultParticleNNFile()
           
 void testNoPrintNormalSequence()
           
 void testNoPrintNormalSequenceWithComments()
           
 void testNormalSequence()
           
 void testParticleNNMultiLayerFile()
           
 void testParticleWithPrintsNNFile()
           
 void testParticleWithRulesNNFile()
           
 void testParticleWithRulesPrintsNNFile()
           
 void testRuleDefinition()
           
 
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
 

Field Detail

INPUT_NO_PRINT

public static final java.lang.String INPUT_NO_PRINT
See Also:
Constant Field Values

INPUT_ONLY_PRINT

public static final java.lang.String INPUT_ONLY_PRINT
See Also:
Constant Field Values

INPUT_BLOCK_START

public static final java.lang.String INPUT_BLOCK_START
See Also:
Constant Field Values

INPUT_RULES

public static final java.lang.String INPUT_RULES
See Also:
Constant Field Values

COMMENTS

public static final java.lang.String COMMENTS
See Also:
Constant Field Values

dir

protected java.lang.String dir
Constructor Detail

FFNeuralNetworkWeightsParserTest

public FFNeuralNetworkWeightsParserTest()
Method Detail

testNoPrintNormalSequence

public void testNoPrintNormalSequence()

testNoPrintNormalSequenceWithComments

public void testNoPrintNormalSequenceWithComments()

testNormalSequence

public void testNormalSequence()

testRuleDefinition

public void testRuleDefinition()

testDefaultParticleNNFile

public void testDefaultParticleNNFile()
                               throws java.lang.Exception
Throws:
java.lang.Exception

testParticleWithRulesNNFile

public void testParticleWithRulesNNFile()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testParticleWithPrintsNNFile

public void testParticleWithPrintsNNFile()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testParticleNNMultiLayerFile

public void testParticleNNMultiLayerFile()
                                  throws java.lang.Exception
Throws:
java.lang.Exception

testParticleWithRulesPrintsNNFile

public void testParticleWithRulesPrintsNNFile()
                                       throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2009. All Rights Reserved.