org.lsmp.djepJUnit
Class VectorJepTest

java.lang.Object
  extended byTestCase
      extended byorg.lsmp.djepJUnit.VectorJepTest

public class VectorJepTest
extends TestCase

JUnit test for VectorJep

Author:
Rich Morris Created on 19-Nov-2003
See Also:
Serialized Form

Field Summary
static boolean SHOW_BAD
           
 
Constructor Summary
VectorJepTest(java.lang.String name)
           
 
Method Summary
 java.lang.Object calcValue(java.lang.String expr)
           
static void main(java.lang.String[] args)
           
 void myAssertEquals(java.lang.String msg, java.lang.String actual, java.lang.String expected)
           
protected  void setUp()
           
static Test suite()
           
 void testAssign()
           
 void testBad()
           
 void testGood()
           
 void testIf()
           
 void testMatrix()
           
 void testOperators()
           
 void testSimpleSum()
           
 void valueTest(java.lang.String expr, double dub)
           
 void valueTest(java.lang.String expr, java.lang.Object expected)
           
 void valueTest(java.lang.String expr, java.lang.String expected)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SHOW_BAD

public static final boolean SHOW_BAD
See Also:
Constant Field Values
Constructor Detail

VectorJepTest

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

main

public static void main(java.lang.String[] args)

setUp

protected void setUp()

suite

public static Test suite()

testGood

public void testGood()

valueTest

public void valueTest(java.lang.String expr,
                      double dub)
               throws java.lang.Exception
Throws:
java.lang.Exception

valueTest

public void valueTest(java.lang.String expr,
                      java.lang.Object expected)
               throws java.lang.Exception
Throws:
java.lang.Exception

valueTest

public void valueTest(java.lang.String expr,
                      java.lang.String expected)
               throws java.lang.Exception
Throws:
java.lang.Exception

calcValue

public java.lang.Object calcValue(java.lang.String expr)
                           throws java.lang.Exception
Throws:
java.lang.Exception

testSimpleSum

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

testOperators

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

testIf

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

testAssign

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

myAssertEquals

public void myAssertEquals(java.lang.String msg,
                           java.lang.String actual,
                           java.lang.String expected)

testMatrix

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

testBad

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


http://www.singularsys.com/jep Copyright © 2004 Singular Systems