math
Class MathUtilsTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by math.MathUtilsTest
All Implemented Interfaces:
junit.framework.Test

public class MathUtilsTest
extends junit.framework.TestCase

Test case by D. Lyon


Constructor Summary
MathUtilsTest(java.lang.String name)
           
 
Method Summary
 void setUp()
           
static junit.framework.Test suite()
           
 void tearDown()
           
 void testGetGauss()
           
 void testGetGauss1()
           
 void testGetLogBase2()
           
 void testIsqrt()
           
 void testIsqrt1()
           
 void testLog2()
           
 void testMain()
           
 void testOdd()
           
 void testPrint()
           
 void testRoundToIntegralPowerOf2()
           
 void testTestGauss()
           
 void testTestLongIsqrt()
           
 void testWriteOutRandomNumbersToAFile()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, getName, run, run, runBare, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MathUtilsTest

public MathUtilsTest(java.lang.String name)
Method Detail

setUp

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

tearDown

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

testMain

public void testMain()
              throws java.lang.Exception
Throws:
java.lang.Exception

testWriteOutRandomNumbersToAFile

public void testWriteOutRandomNumbersToAFile()
                                      throws java.lang.Exception
Throws:
java.lang.Exception

testOdd

public void testOdd()
             throws java.lang.Exception
Throws:
java.lang.Exception

testGetLogBase2

public void testGetLogBase2()
                     throws java.lang.Exception
Throws:
java.lang.Exception

testGetGauss

public void testGetGauss()
                  throws java.lang.Exception
Throws:
java.lang.Exception

testGetGauss1

public void testGetGauss1()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testTestGauss

public void testTestGauss()
                   throws java.lang.Exception
Throws:
java.lang.Exception

testPrint

public void testPrint()
               throws java.lang.Exception
Throws:
java.lang.Exception

testTestLongIsqrt

public void testTestLongIsqrt()
                       throws java.lang.Exception
Throws:
java.lang.Exception

testIsqrt

public void testIsqrt()
               throws java.lang.Exception
Throws:
java.lang.Exception

testIsqrt1

public void testIsqrt1()
                throws java.lang.Exception
Throws:
java.lang.Exception

testRoundToIntegralPowerOf2

public void testRoundToIntegralPowerOf2()
                                 throws java.lang.Exception
Throws:
java.lang.Exception

testLog2

public void testLog2()
              throws java.lang.Exception
Throws:
java.lang.Exception

suite

public static junit.framework.Test suite()