org.slf4j.helpers
Class BubbleSortTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.slf4j.helpers.BubbleSortTest
All Implemented Interfaces:
junit.framework.Test

public class BubbleSortTest
extends junit.framework.TestCase

Test that our BubbleSort algorithm is correctly implemented.

Author:
Ceki

Constructor Summary
BubbleSortTest()
           
 
Method Summary
 void testEmpty()
           
 void testInverted()
           
 void testRandom()
           
 void testSmoke()
           
 void testSorted()
           
 void testWithSameEntry()
           
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BubbleSortTest

public BubbleSortTest()
Method Detail

testSmoke

public void testSmoke()

testEmpty

public void testEmpty()

testSorted

public void testSorted()

testInverted

public void testInverted()

testWithSameEntry

public void testWithSameEntry()

testRandom

public void testRandom()


Copyright © 2005-2013 QOS.ch. All Rights Reserved.