com.jstatcom.util
Class UtilTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.jstatcom.util.UtilTest
All Implemented Interfaces:
junit.framework.Test

public class UtilTest
extends junit.framework.TestCase

This is a set of tests for the util package. It makes use of the junit framework.

Author:
Markus Kraetzig

Constructor Summary
UtilTest(java.lang.String name)
          Test constructor comment.
 
Method Summary
static junit.framework.Test suite()
          Here a TestSuite is created, which automatically executes all methods that start with test* by using a reflection mechanism.
 void testCapitalizeFirst()
           
 void testEncodeDecode()
           
 void testFArg()
          Tests the FArg.
 void testImp2ExpRes()
          Tests the UMatrix methods.
 void testMaturity()
           
 void testToIntMatrix()
          Tests the UMatrix methods.
 void testUDataDeterministics()
          Tests the UMatrix methods.
 void testUDataHasFullColRank()
          Tests the UMatrix methods.
 void testUDataIndex()
          Tests the UMatrix methods.
 void testUDataResMat()
          Tests the UMatrix methods.
 void testUDataSplitDeterministics()
          Tests the UMatrix methods.
 void testUDataYZMat()
          Tests the UMatrix methods.
 void testUMathBase10()
          Tests the replaceSubString methods in UString.
 void testUMathClosestMultiple()
          Tests the replaceSubString methods in UString.
 void testUMathRound()
          Tests the replaceSubString methods in UString.
 void testUMatrixAdd()
          Tests the UMatrix methods.
 void testUMatrixAppendColumns()
          Tests the UMatrix methods.
 void testUMatrixAppendRows()
          Tests the UMatrix methods.
 void testUMatrixClone()
          Tests the UMatrix methods.
 void testUMatrixConv()
          Tests the UMatrix methods.
 void testUMatrixDeleteDoubleCol()
          Tests the UMatrix methods.
 void testUMatrixDeleteDoubleRow()
          Tests the UMatrix methods.
 void testUMatrixDelif()
          Tests the UMatrix methods.
 void testUMatrixDelRowsIf()
          Tests the UMatrix methods.
 void testUMatrixDoubleCompare()
          Tests the UMatrix compare methods.
 void testUMatrixEye()
          Tests the UMatrix methods.
 void testUMatrixFlipIndex()
          Tests the UMatrix methods.
 void testUMatrixFracDiff()
          Tests the UMatrix methods.
 void testUMatrixGetDoubleCol()
          Tests the UMatrix methods.
 void testUMatrixGetDoubleCols()
          Tests the UMatrix methods.
 void testUMatrixGetDoubleRow()
          Tests the UMatrix methods.
 void testUMatrixGetFirstNonZero()
          Tests the UMatrix methods.
 void testUMatrixGetLastNonZero()
          Tests the UMatrix methods.
 void testUMatrixLTriang()
          Tests the UMatrix methods.
 void testUMatrixMaxc()
          Tests the UMatrix methods.
 void testUMatrixMean()
          Tests the UMatrix methods.
 void testUMatrixMinc()
          Tests the UMatrix methods.
 void testUMatrixMultiply()
          Tests the UMatrix methods.
 void testUMatrixOnes()
          Tests the UMatrix methods.
 void testUMatrixPow()
          Tests the UMatrix methods.
 void testUMatrixRandom()
          Tests the UMatrix methods.
 void testUMatrixRank()
          Tests the UMatrix methods.
 void testUMatrixSelif()
          Tests the UMatrix methods.
 void testUMatrixSeqa()
          Tests the UMatrix methods.
 void testUMatrixStandardize()
          Tests the UMatrix methods.
 void testUMatrixStdc()
          Tests the UMatrix methods.
 void testUMatrixSumc()
          Tests the UMatrix methods.
 void testUMatrixToDoubleMatrix()
          Tests the UMatrix methods.
 void testUMatrixTranpose()
          Tests the UMatrix methods.
 void testUMatrixVec()
          Tests the UMatrix methods.
 void testUString()
          Tests the replaceSubString methods in UString.
 void testUStringArrayAppendString()
          Tests the UMatrix methods.
 void testUStringArrayAppendStringColumns()
          Tests the UMatrix methods.
 void testUStringArrayAppendSuffix()
          Tests the UMatrix methods.
 void testUStringArrayCloneString()
          Tests the UStringArray methods.
 void testUStringArrayCreateNamedIndex()
          Tests the UMatrix methods.
 void testUStringArrayDelCol()
          Tests the UMatrix methods.
 void testUStringArrayDeleteStringRow()
          Tests the UMatrix methods.
 void testUStringArrayDelIf()
          Tests the UStringArray methods.
 void testUStringArrayDelRowsIf()
          Tests the UStringArray methods.
 void testUStringArrayDelStringRowsIf()
          Tests the UStringArray methods.
 void testUStringArrayGetStringCol()
          Tests the UStringArray methods.
 void testUStringArrayGetStringDiff()
          Tests the getStringDiff.
 void testUStringArraySelIf()
          Tests the UStringArray methods.
 void testUStringArraySelRowsIf()
          Tests the UStringArray methods.
 void testUStringArraySelStringRowsIf()
          Tests the UStringArray methods.
 void testUStringArrayStringCompare()
          Tests the UStringArray compare methods.
 void testUStringArrayToStringMatrix()
          Tests the UStringArray methods.
 void testUStringNumber()
          Tests the replaceSubString methods in UString.
 
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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UtilTest

public UtilTest(java.lang.String name)
Test constructor comment.

Parameters:
name - String
Method Detail

suite

public static junit.framework.Test suite()
Here a TestSuite is created, which automatically executes all methods that start with test* by using a reflection mechanism.

Returns:
Test

testFArg

public void testFArg()
Tests the FArg.


testImp2ExpRes

public void testImp2ExpRes()
Tests the UMatrix methods.


testToIntMatrix

public void testToIntMatrix()
Tests the UMatrix methods.


testUDataDeterministics

public void testUDataDeterministics()
Tests the UMatrix methods.


testUDataHasFullColRank

public void testUDataHasFullColRank()
Tests the UMatrix methods.


testUDataIndex

public void testUDataIndex()
Tests the UMatrix methods.


testUDataResMat

public void testUDataResMat()
Tests the UMatrix methods.


testUDataSplitDeterministics

public void testUDataSplitDeterministics()
Tests the UMatrix methods.


testUDataYZMat

public void testUDataYZMat()
Tests the UMatrix methods.


testUMathBase10

public void testUMathBase10()
Tests the replaceSubString methods in UString.


testUMathClosestMultiple

public void testUMathClosestMultiple()
Tests the replaceSubString methods in UString.


testUMathRound

public void testUMathRound()
Tests the replaceSubString methods in UString.


testUMatrixAdd

public void testUMatrixAdd()
Tests the UMatrix methods.


testUMatrixAppendColumns

public void testUMatrixAppendColumns()
Tests the UMatrix methods.


testUMatrixAppendRows

public void testUMatrixAppendRows()
Tests the UMatrix methods.


testUMatrixClone

public void testUMatrixClone()
Tests the UMatrix methods.


testUMatrixDeleteDoubleCol

public void testUMatrixDeleteDoubleCol()
Tests the UMatrix methods.


testUMatrixDeleteDoubleRow

public void testUMatrixDeleteDoubleRow()
Tests the UMatrix methods.


testUMatrixDelif

public void testUMatrixDelif()
Tests the UMatrix methods.


testUMatrixDelRowsIf

public void testUMatrixDelRowsIf()
Tests the UMatrix methods.


testUMatrixDoubleCompare

public void testUMatrixDoubleCompare()
Tests the UMatrix compare methods.


testUMatrixEye

public void testUMatrixEye()
Tests the UMatrix methods.


testUMatrixFlipIndex

public void testUMatrixFlipIndex()
Tests the UMatrix methods.


testUMatrixGetDoubleCol

public void testUMatrixGetDoubleCol()
Tests the UMatrix methods.


testUMatrixGetDoubleRow

public void testUMatrixGetDoubleRow()
Tests the UMatrix methods.


testUMatrixGetDoubleCols

public void testUMatrixGetDoubleCols()
Tests the UMatrix methods.


testUMatrixGetFirstNonZero

public void testUMatrixGetFirstNonZero()
Tests the UMatrix methods.


testUMatrixGetLastNonZero

public void testUMatrixGetLastNonZero()
Tests the UMatrix methods.


testUMatrixLTriang

public void testUMatrixLTriang()
Tests the UMatrix methods.


testUMatrixMaxc

public void testUMatrixMaxc()
Tests the UMatrix methods.


testUMatrixMean

public void testUMatrixMean()
Tests the UMatrix methods.


testUMatrixMinc

public void testUMatrixMinc()
Tests the UMatrix methods.


testUMatrixMultiply

public void testUMatrixMultiply()
Tests the UMatrix methods.


testUMatrixOnes

public void testUMatrixOnes()
Tests the UMatrix methods.


testUMatrixPow

public void testUMatrixPow()
Tests the UMatrix methods.


testUMatrixRandom

public void testUMatrixRandom()
Tests the UMatrix methods.


testUMatrixRank

public void testUMatrixRank()
Tests the UMatrix methods.


testUMatrixSelif

public void testUMatrixSelif()
Tests the UMatrix methods.


testUMatrixSeqa

public void testUMatrixSeqa()
Tests the UMatrix methods.


testUMatrixStandardize

public void testUMatrixStandardize()
Tests the UMatrix methods.


testUMatrixStdc

public void testUMatrixStdc()
Tests the UMatrix methods.


testUMatrixSumc

public void testUMatrixSumc()
Tests the UMatrix methods.


testUMatrixToDoubleMatrix

public void testUMatrixToDoubleMatrix()
Tests the UMatrix methods.


testUMatrixTranpose

public void testUMatrixTranpose()
Tests the UMatrix methods.


testUMatrixVec

public void testUMatrixVec()
Tests the UMatrix methods.


testUString

public void testUString()
Tests the replaceSubString methods in UString.


testUStringArrayAppendString

public void testUStringArrayAppendString()
Tests the UMatrix methods.


testUStringArrayAppendStringColumns

public void testUStringArrayAppendStringColumns()
Tests the UMatrix methods.


testUStringArrayAppendSuffix

public void testUStringArrayAppendSuffix()
Tests the UMatrix methods.


testUStringArrayCloneString

public void testUStringArrayCloneString()
Tests the UStringArray methods.


testUStringArrayCreateNamedIndex

public void testUStringArrayCreateNamedIndex()
Tests the UMatrix methods.


testUStringArrayDelCol

public void testUStringArrayDelCol()
Tests the UMatrix methods.


testUStringArrayDeleteStringRow

public void testUStringArrayDeleteStringRow()
Tests the UMatrix methods.


testUStringArrayDelIf

public void testUStringArrayDelIf()
Tests the UStringArray methods.


testUStringArrayDelRowsIf

public void testUStringArrayDelRowsIf()
Tests the UStringArray methods.


testUStringArrayDelStringRowsIf

public void testUStringArrayDelStringRowsIf()
Tests the UStringArray methods.


testUStringArrayGetStringCol

public void testUStringArrayGetStringCol()
Tests the UStringArray methods.


testUStringArrayGetStringDiff

public void testUStringArrayGetStringDiff()
Tests the getStringDiff.


testUStringArraySelIf

public void testUStringArraySelIf()
Tests the UStringArray methods.


testUStringArraySelRowsIf

public void testUStringArraySelRowsIf()
Tests the UStringArray methods.


testUStringArraySelStringRowsIf

public void testUStringArraySelStringRowsIf()
Tests the UStringArray methods.


testUStringArrayStringCompare

public void testUStringArrayStringCompare()
Tests the UStringArray compare methods.


testUStringArrayToStringMatrix

public void testUStringArrayToStringMatrix()
Tests the UStringArray methods.


testUStringNumber

public void testUStringNumber()
Tests the replaceSubString methods in UString.


testUMatrixConv

public void testUMatrixConv()
Tests the UMatrix methods.


testUMatrixFracDiff

public void testUMatrixFracDiff()
Tests the UMatrix methods.


testMaturity

public void testMaturity()

testCapitalizeFirst

public void testCapitalizeFirst()

testEncodeDecode

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