tests
Class CRNTest

java.lang.Object
  extended byjunit.framework.Assert
      extended byjunit.framework.TestCase
          extended bytests.CRNTest
All Implemented Interfaces:
junit.framework.Test

public class CRNTest
extends junit.framework.TestCase

Tests the CRN.

Author:
Piotrek

Field Summary
 
Fields inherited from class junit.framework.TestCase
 
Constructor Summary
CRNTest()
           
 
Method Summary
 void testAddCase()
          Tests adding of cases.
 void testAddSpecificComparator()
          Tests the parameter validation for adding of the specific comparator.
 void testFindSimilarCases()
          Tests searching for the similar cases.
 void testIEWeights()
          Test setting and getting of the IE weights.
 void testRemoveAllCases()
          Tests removal of all cases.
 void testRemoveCase()
          Tests removing of the cases.
 void testRemoveSpecificComparator()
          Tests only parameters validation for the removing of the specific comparator.
 
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
 

Constructor Detail

CRNTest

public CRNTest()
Method Detail

testAddCase

public void testAddCase()
Tests adding of cases.


testRemoveCase

public void testRemoveCase()
Tests removing of the cases.


testFindSimilarCases

public void testFindSimilarCases()
Tests searching for the similar cases.


testIEWeights

public void testIEWeights()
Test setting and getting of the IE weights.


testAddSpecificComparator

public void testAddSpecificComparator()
Tests the parameter validation for adding of the specific comparator.


testRemoveSpecificComparator

public void testRemoveSpecificComparator()
Tests only parameters validation for the removing of the specific comparator.


testRemoveAllCases

public void testRemoveAllCases()
Tests removal of all cases.