public class TestFloatStack extends junit.framework.TestCase
Constructor and Description |
---|
TestFloatStack(String arg0)
Constructor for IntStackTest.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
Runs the test.
|
protected void |
setUp() |
static junit.framework.TestSuite |
suite() |
void |
testArrayConstructor() |
void |
testEmpty() |
void |
testPeek() |
void |
testPeekN() |
void |
testPop() |
void |
testPush() |
void |
testSearch() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
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
public TestFloatStack(String arg0)
arg0
- public static junit.framework.TestSuite suite()
protected void setUp() throws Exception
setUp
in class junit.framework.TestCase
Exception
public void testEmpty()
public void testPeek()
public void testPop()
public void testPush()
public void testSearch()
public void testArrayConstructor()
public void testPeekN()
Copyright © 2002-2013 The Apache Software Foundation. All Rights Reserved.