gate.util
Class TestRBTreeMap

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by gate.util.TestRBTreeMap
All Implemented Interfaces:
junit.framework.Test

public class TestRBTreeMap
extends junit.framework.TestCase

Tests for the RBTreeMap class


Constructor Summary
TestRBTreeMap(String name)
          Construction
 
Method Summary
 void setUp()
          Create a map with sparse values as keys
static junit.framework.Test suite()
          Test suite routine for the test runner
 void testClosestMatch()
           
 void testExact()
          A test test
 void testGetNextOf()
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestRBTreeMap

public TestRBTreeMap(String name)
Construction

Method Detail

setUp

public void setUp()
Create a map with sparse values as keys

Overrides:
setUp in class junit.framework.TestCase

testExact

public void testExact()
A test test


testClosestMatch

public void testClosestMatch()

testGetNextOf

public void testGetNextOf()

suite

public static junit.framework.Test suite()
Test suite routine for the test runner