java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
ArrayUtilitiesTest
public class ArrayUtilitiesTest
The test class ArrayUtilitiesTest.
Constructor Summary | |
---|---|
ArrayUtilitiesTest()
Default constructor for test class ArrayUtilitiesTest |
Method Summary | |
---|---|
protected void |
setUp()
Sets up the test fixture. |
protected void |
tearDown()
Tears down the test fixture. |
void |
testCreateSortedIntArray()
|
void |
testShuffleArray()
Checks to see if an array is shuffled by creating an array, shuffling it, and checking to see if the shuffled result is a permuation of the original, by not an exact duplicate. |
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 |
---|
public ArrayUtilitiesTest()
Method Detail |
---|
protected void setUp()
setUp
in class junit.framework.TestCase
protected void tearDown()
tearDown
in class junit.framework.TestCase
public void testCreateSortedIntArray()
public void testShuffleArray()