jmathlibtests.core.interpreter
Class testLexicalAnalyser

java.lang.Object
  extended by jmathlib.tools.junit.framework.Assert
      extended by jmathlib.tools.junit.framework.TestCase
          extended by jmathlibtests.core.interpreter.testLexicalAnalyser
All Implemented Interfaces:
Test

public class testLexicalAnalyser
extends TestCase


Field Summary
private  LexicalAnalyser analyser
           
private  java.util.Vector expectedResult
           
 
Constructor Summary
testLexicalAnalyser(java.lang.String name)
           
 
Method Summary
static void main(java.lang.String[] args)
           
 void setUp()
          Sets up the fixture, for example, open a network connection.
static Test suite()
           
protected  void tearDown()
          Tears down the fixture, for example, close a network connection.
 void testAdd()
           
 void testComment1()
           
 void testComment2()
           
 void testComplex()
           
 void testDelimiterWords()
           
 void testDivide()
           
 void testFloatNumber()
           
 void testFunction1()
           
 void testFunction2()
           
 void testMPower()
           
 void testMultiply()
           
 void testNegativeNumber()
           
 void testNumber()
           
 void testPower()
           
 void testReservedWord()
           
private  boolean testResult(java.util.Vector result)
           
 void testScientificNumber()
           
 void testScientificNumber2()
           
 void testSign01()
           
 void testString()
           
 void testSubtract()
           
 
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

analyser

private LexicalAnalyser analyser

expectedResult

private java.util.Vector expectedResult
Constructor Detail

testLexicalAnalyser

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

main

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

suite

public static Test suite()

setUp

public 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

testNumber

public void testNumber()

testNegativeNumber

public void testNegativeNumber()

testFloatNumber

public void testFloatNumber()

testScientificNumber

public void testScientificNumber()

testScientificNumber2

public void testScientificNumber2()

testComplex

public void testComplex()

testString

public void testString()

testAdd

public void testAdd()

testSubtract

public void testSubtract()

testMultiply

public void testMultiply()

testDivide

public void testDivide()

testMPower

public void testMPower()

testPower

public void testPower()

testFunction1

public void testFunction1()

testFunction2

public void testFunction2()

testReservedWord

public void testReservedWord()

testDelimiterWords

public void testDelimiterWords()

testComment1

public void testComment1()

testComment2

public void testComment2()

testSign01

public void testSign01()

testResult

private boolean testResult(java.util.Vector result)

FOOTER

BOTTOM