jmathlib.tools.junit.framework
Class JMathLibTestCase

java.lang.Object
  extended by jmathlib.tools.junit.framework.Assert
      extended by jmathlib.tools.junit.framework.TestCase
          extended by jmathlib.tools.junit.framework.JMathLibTestCase
All Implemented Interfaces:
Test
Direct Known Subclasses:
test_jmathlib_toolbox_general_bitor, test_jmathlib_toolbox_general_int16, test_jmathlib_toolbox_general_int32, test_jmathlib_toolbox_general_int64, test_jmathlib_toolbox_general_int8, test_jmathlib_toolbox_general_sign, test_jmathlib_toolbox_general_uint16, test_jmathlib_toolbox_general_uint32, test_jmathlib_toolbox_general_uint8, test_jmathlib_toolbox_jmathlib_internal_e, test_jmathlib_toolbox_jmathlib_internal_i, test_jmathlib_toolbox_jmathlib_internal_j, test_jmathlib_toolbox_jmathlib_internal_minusminus, test_jmathlib_toolbox_jmathlib_internal_pi, test_jmathlib_toolbox_jmathlib_internal_plusplus, testAbs, testAll, testBinomial, testCeil, testFinite, testGetDebug, testIsstr, testSetDebug, testStrcmp, testStrcmpi, testStrncmp, testStrncmpi, testSwap, testTemplate

public class JMathLibTestCase
extends TestCase


Field Summary
protected  Interpreter ml
           
 
Constructor Summary
JMathLibTestCase(java.lang.String name)
           
 
Method Summary
 void assertEvalArrayEquals(java.lang.String func, java.lang.String var, double[][] varRe)
           
 void assertEvalArrayEquals(java.lang.String func, java.lang.String var, double[][] varRe, double tol)
           
 void assertEvalArrayEquals(java.lang.String func, java.lang.String var, double[][] varRe, double[][] varIm, double tol)
           
 void assertEvalScalarEquals(java.lang.String func, java.lang.String var, boolean b)
           
 void assertEvalScalarEquals(java.lang.String func, java.lang.String var, double varRe)
           
 void assertEvalScalarEquals(java.lang.String func, java.lang.String var, double varRe, double tol)
           
 void assertEvalScalarEquals(java.lang.String func, java.lang.String var, double varRe, double varIm, double tol)
           
 void assertScalarEquals(java.lang.String var, double varRe)
           
 void assertScalarEquals(java.lang.String var, double varRe, double tol)
           
 void assertScalarEquals(java.lang.String var, double varRe, double varIm, double tol)
           
 void assertStringEquals(java.lang.String a, java.lang.String b)
           
 void eval(java.lang.String s)
           
protected  void setUp()
          Sets up the fixture, for example, open a network connection.
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 
Methods inherited from class jmathlib.tools.junit.framework.TestCase
countTestCases, createResult, getName, name, run, run, runBare, runTest, setName, toString
 
Methods inherited from class jmathlib.tools.junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertNotNull, assertNotNull, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ml

protected Interpreter ml
Constructor Detail

JMathLibTestCase

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

setUp

protected void setUp()
Description copied from class: TestCase
Sets up the fixture, for example, open a network connection. This method is called before a test is executed.

Overrides:
setUp in class TestCase

tearDown

protected void tearDown()
Description copied from class: TestCase
Tears down the fixture, for example, close a network connection. This method is called after a test is executed.

Overrides:
tearDown in class TestCase

eval

public void eval(java.lang.String s)

assertStringEquals

public void assertStringEquals(java.lang.String a,
                               java.lang.String b)

assertEvalScalarEquals

public void assertEvalScalarEquals(java.lang.String func,
                                   java.lang.String var,
                                   boolean b)

assertScalarEquals

public void assertScalarEquals(java.lang.String var,
                               double varRe)

assertScalarEquals

public void assertScalarEquals(java.lang.String var,
                               double varRe,
                               double tol)

assertScalarEquals

public void assertScalarEquals(java.lang.String var,
                               double varRe,
                               double varIm,
                               double tol)

assertEvalScalarEquals

public void assertEvalScalarEquals(java.lang.String func,
                                   java.lang.String var,
                                   double varRe)

assertEvalScalarEquals

public void assertEvalScalarEquals(java.lang.String func,
                                   java.lang.String var,
                                   double varRe,
                                   double tol)

assertEvalScalarEquals

public void assertEvalScalarEquals(java.lang.String func,
                                   java.lang.String var,
                                   double varRe,
                                   double varIm,
                                   double tol)

assertEvalArrayEquals

public void assertEvalArrayEquals(java.lang.String func,
                                  java.lang.String var,
                                  double[][] varRe)

assertEvalArrayEquals

public void assertEvalArrayEquals(java.lang.String func,
                                  java.lang.String var,
                                  double[][] varRe,
                                  double tol)

assertEvalArrayEquals

public void assertEvalArrayEquals(java.lang.String func,
                                  java.lang.String var,
                                  double[][] varRe,
                                  double[][] varIm,
                                  double tol)

FOOTER

BOTTOM