edu.memphis.ccrg.lida.framework.shared.activation
Class LearnableImplTest

java.lang.Object
  extended by edu.memphis.ccrg.lida.framework.shared.activation.LearnableImplTest

public class LearnableImplTest
extends java.lang.Object

This is a JUnit class which can be used to test methods of the LearnableImpl class

Author:
Nisrine, Siminder Kaur, Ryan J. McCall

Constructor Summary
LearnableImplTest()
           
 
Method Summary
 void setUp()
           
 void testArgConstructor()
           
 void testCopyConstructor()
           
 void testDecay()
          Test method for LearnableImpl.decay(long) .
 void testDecayBaseLevelActivation()
          Test method for LearnableImpl.decayBaseLevelActivation(long) .
 void testGetTotalActivation()
          Test method for LearnableImpl.getTotalActivation() .
 void testGetTotalActivationStrategy()
          Test method for LearnableImpl.getTotalActivationStrategy() .
 void testIsRemovable()
          Test method for LearnableImpl.isRemovable() .
 void testReinforceBaseLevelActivation()
          Test method for LearnableImpl.reinforceBaseLevelActivation(double) .
 void testSetBaseLevelActivation()
          Test method for LearnableImpl.setBaseLevelActivation(double) .
 void testSetBaseLevelDecayStrategy()
          Test method for LearnableImpl.setBaseLevelDecayStrategy(edu.memphis.ccrg.lida.framework.strategies.DecayStrategy) .
 void testSetBaseLevelExciteStrategy()
          Test method for LearnableImpl.setBaseLevelExciteStrategy(edu.memphis.ccrg.lida.framework.strategies.ExciteStrategy) .
 void testSetLearnableRemovalThreshold()
          Test method for LearnableImpl.setBaseLevelRemovalThreshold(double) .
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LearnableImplTest

public LearnableImplTest()
Method Detail

setUp

public void setUp()
           throws java.lang.Exception
Throws:
java.lang.Exception - e

testArgConstructor

public void testArgConstructor()

testCopyConstructor

public void testCopyConstructor()

testDecay

public void testDecay()
Test method for LearnableImpl.decay(long) .


testIsRemovable

public void testIsRemovable()
Test method for LearnableImpl.isRemovable() .


testGetTotalActivation

public void testGetTotalActivation()
Test method for LearnableImpl.getTotalActivation() .


testDecayBaseLevelActivation

public void testDecayBaseLevelActivation()
Test method for LearnableImpl.decayBaseLevelActivation(long) .


testSetBaseLevelExciteStrategy

public void testSetBaseLevelExciteStrategy()
Test method for LearnableImpl.setBaseLevelExciteStrategy(edu.memphis.ccrg.lida.framework.strategies.ExciteStrategy) .


testSetBaseLevelDecayStrategy

public void testSetBaseLevelDecayStrategy()
Test method for LearnableImpl.setBaseLevelDecayStrategy(edu.memphis.ccrg.lida.framework.strategies.DecayStrategy) .


testReinforceBaseLevelActivation

public void testReinforceBaseLevelActivation()
Test method for LearnableImpl.reinforceBaseLevelActivation(double) .


testSetBaseLevelActivation

public void testSetBaseLevelActivation()
Test method for LearnableImpl.setBaseLevelActivation(double) .


testSetLearnableRemovalThreshold

public void testSetLearnableRemovalThreshold()
Test method for LearnableImpl.setBaseLevelRemovalThreshold(double) .


testGetTotalActivationStrategy

public void testGetTotalActivationStrategy()
Test method for LearnableImpl.getTotalActivationStrategy() .