net.sf.jsort.linear
Class CountingSortTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by net.sf.jsort.linear.CountingSortTest
All Implemented Interfaces:
junit.framework.Test

public class CountingSortTest
extends junit.framework.TestCase

Author:
domingos

Nested Class Summary
static class CountingSortTest.Pair
           
 
Constructor Summary
CountingSortTest(java.lang.String testName)
           
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 void testSortEverything()
          Test of sort method, of class net.sf.jsort.linear.CountingSort.
 void testSortRange1()
           
 void testSortRange2()
           
 void testStability()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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

CountingSortTest

public CountingSortTest(java.lang.String testName)
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

tearDown

protected void tearDown()
                 throws java.lang.Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
java.lang.Exception

testSortEverything

public void testSortEverything()
Test of sort method, of class net.sf.jsort.linear.CountingSort.


testSortRange1

public void testSortRange1()

testSortRange2

public void testSortRange2()

testStability

public void testStability()


Copyright © 2005-2008 Domingos Creado. All Rights Reserved.