infix2postfix
Class Test

java.lang.Object
  extended byinfix2postfix.Test

public class Test
extends java.lang.Object

This test class provides some test cases and shows how to use the Infix2Postfix functionality in this package.

 Some examples of Math expressions,
 1. ( 3 + 4 ) * 5 - 3
 2. 6 / 4
 3. 9 * max ( 5 , 7 )
 4. 10 / ( 3 + x ) * 2, where 'x' is a allowed varible  set by setVariable()
 	method called on MathClient
 
Some notes about MathClient,
 1. Default operands are assumed to be in 'double' format
 2. You can choose operands data types by calling
    MathClient#MathClient(OperandManager) and specifying one of
    the MathClient#OperandManagers's operand manager.
 3. You can select the radix system (only with int,long datatype selected)
 	 for the operands by setRadix() on the MathClient object
 

 Some examples of boolean expressions,
 1. ( true & true ) | ( false & true )
 2. true & x , where 'x' is a allowed variable set by setVariable() method
    called on BooleanClient
 3. true ^ false

Author:
Maulin H. Vasavada

Constructor Summary
Test()
           
 
Method Summary
static void main(java.lang.String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Test

public Test()
Method Detail

main

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