ctf.evaluation
Class STEALTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by ctf.evaluation.TestCase
              extended by ctf.evaluation.STEALTest
All Implemented Interfaces:
junit.framework.Test

public class STEALTest
extends TestCase


Constructor Summary
STEALTest()
           
 
Method Summary
 void testFloatInt()
          Make sure that floating-point numbers are not accepted by parseInt()
 void testIntFloat()
          Make sure that int-only numbers are not accepted by parseFloat()
 void testLargeFloat()
          Make sure that large float values are accepted
 void testLargeInt()
          Make sure that large integer values are accepted
 void testNegativeFloat()
          Make sure that negative integers are accepted by parseFloat()
 void testNegativeInt()
          Make sure that negative integers are not accepted by parseInt()
 void testNormalFloat()
          Make sure that regular floating-point values are accepted
 void testNormalInt()
          Make sure that regular integer values are accepted
 
Methods inherited from class ctf.evaluation.TestCase
assertClose, assertClose, assertClose, assertClose, assertClose, assertClose, assertClose, assertCloseAbsolute, setUp, sleep, tearDown
 
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, failNotEquals, failNotSame, failSame
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

STEALTest

public STEALTest()
Method Detail

testNormalInt

public void testNormalInt()
                   throws ProtocolError
Make sure that regular integer values are accepted

Throws:
ProtocolError

testLargeInt

public void testLargeInt()
                  throws ProtocolError
Make sure that large integer values are accepted

Throws:
ProtocolError

testNegativeInt

public void testNegativeInt()
                     throws ProtocolError
Make sure that negative integers are not accepted by parseInt()

Throws:
ProtocolError

testFloatInt

public void testFloatInt()
                  throws ProtocolError
Make sure that floating-point numbers are not accepted by parseInt()

Throws:
ProtocolError

testNormalFloat

public void testNormalFloat()
                     throws ProtocolError
Make sure that regular floating-point values are accepted

Throws:
ProtocolError

testLargeFloat

public void testLargeFloat()
                    throws ProtocolError
Make sure that large float values are accepted

Throws:
ProtocolError

testNegativeFloat

public void testNegativeFloat()
                       throws ProtocolError
Make sure that negative integers are accepted by parseFloat()

Throws:
ProtocolError

testIntFloat

public void testIntFloat()
                  throws ProtocolError
Make sure that int-only numbers are not accepted by parseFloat()

Throws:
ProtocolError