JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.alsUtility
Class UtilityTest

java.lang.Object
  extended byTestCase
      extended bygov.nasa.alsUtility.UtilityTest

public class UtilityTest
extends TestCase

See Also:
Serialized Form

Constructor Summary
UtilityTest(java.lang.String name)
           
 
Method Summary
 void testAreDifferent()
           
 void testAreDifferentIntArrayToLimit()
           
 void testArraySum()
           
 void testArrayToTabSeparated()
           
 void testConcatentateStringArrays()
           
 void testCopy()
           
 void testDoubleArraySum()
           
 void testDoubleLessThanOrEqual()
           
 void testEqualsIntArray()
           
 void testFile2StringArray()
           
 void testGetFirstLineOfFile()
           
 void testGetFirstLineOfFile(int name, java.lang.String body, java.lang.String firstLine)
           
 void testGetLastLineOfFile()
           
 void testGetLastLineOfFile(int name, java.lang.String body, java.lang.String lastLine)
           
 void testIndexofGreatest()
           
 void testIndexofLeast()
           
 void testIsPositiveDoubleArray()
           
 void testLessThanOrEqual()
           
 void testList2String()
           
 void testMakeFile()
           
 void testMakeVector()
           
 void testNearlyEqual()
           
 void testNearlyEqualVector3d()
           
 void testNumberOfThisCharInString()
           
 void testRandomizeIntArray()
           
 void testRemoveDuplicates()
           
 void testShortFileIO()
           
 void testSignOf()
           
 void testSortIntegerArrays()
           
 void testSortVectorOfDouble()
           
 void testString2Integer()
           
 void testTanimotoDistance()
           
 void testTanimotoDistanceOneSideOfZero()
           
 void testTwoNearlyEqual()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UtilityTest

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

testGetFirstLineOfFile

public void testGetFirstLineOfFile()

testGetFirstLineOfFile

public void testGetFirstLineOfFile(int name,
                                   java.lang.String body,
                                   java.lang.String firstLine)

testGetLastLineOfFile

public void testGetLastLineOfFile()

testGetLastLineOfFile

public void testGetLastLineOfFile(int name,
                                  java.lang.String body,
                                  java.lang.String lastLine)

testConcatentateStringArrays

public void testConcatentateStringArrays()

testAreDifferentIntArrayToLimit

public void testAreDifferentIntArrayToLimit()

testIsPositiveDoubleArray

public void testIsPositiveDoubleArray()

testDoubleLessThanOrEqual

public void testDoubleLessThanOrEqual()

testList2String

public void testList2String()

testIndexofLeast

public void testIndexofLeast()

testIndexofGreatest

public void testIndexofGreatest()

testCopy

public void testCopy()

testRandomizeIntArray

public void testRandomizeIntArray()

testEqualsIntArray

public void testEqualsIntArray()

testFile2StringArray

public void testFile2StringArray()

testMakeFile

public void testMakeFile()

testSignOf

public void testSignOf()

testArraySum

public void testArraySum()

testDoubleArraySum

public void testDoubleArraySum()

testSortIntegerArrays

public void testSortIntegerArrays()

testAreDifferent

public void testAreDifferent()

testString2Integer

public void testString2Integer()

testRemoveDuplicates

public void testRemoveDuplicates()

testNearlyEqual

public void testNearlyEqual()

testNearlyEqualVector3d

public void testNearlyEqualVector3d()

testTwoNearlyEqual

public void testTwoNearlyEqual()

testLessThanOrEqual

public void testLessThanOrEqual()

testArrayToTabSeparated

public void testArrayToTabSeparated()

testShortFileIO

public void testShortFileIO()

testNumberOfThisCharInString

public void testNumberOfThisCharInString()

testTanimotoDistance

public void testTanimotoDistance()

testTanimotoDistanceOneSideOfZero

public void testTanimotoDistanceOneSideOfZero()

testSortVectorOfDouble

public void testSortVectorOfDouble()

testMakeVector

public void testMakeVector()

JavaGenes, NASA Ames. Written largely by Al Globus