
/*
  This is simple code to help in how to use Calccedo Engine Library

*/
package testcalccedo;
import com.precious.calccedo.handlers.CalccedoHandler;
/**
 *
 * @author Ibrahim Abdsaid Hanna
 *         ibrahim.seniore@gmail.com
 */

public class TestCalccedo extends CalccedoHandler{

    public TestCalccedo(){
        super.init();
        // to show tracing operations of Calccedo
        super.enableDeepTrace(true);
        
    }

    
   
     
    
    public static void main(String[] args) {
       // this is sample formula  
       String formula="1+1+2+3Sin(30)+10";
       
       // instantiate object from TestCalccedo which inherited from CalccedoHandler
       TestCalccedo calccedo=new TestCalccedo();
       
       // now let's get result, just by calling calccedo calculate method
       System.out.println("Welcome to Calccedo Engine Library");
       System.out.println("Result is "+calccedo.calculate(formula));
       
    }  
}

@@ -1,9 +1,9 @@
-%0A
+%EF%BB%BF
 /*%0A  Thi
@@ -573,18 +573,17 @@
 (30)+10%22
-;
 %0A
+
        %0A
@@ -620,42 +620,8 @@
 rom 
-TestCalccedo which inherited from 
 Calc
@@ -631,24 +631,25 @@
 oHandler
+ 
 %0A       
 TestCalc
@@ -640,28 +640,24 @@
 %0A       
-Test
 Calccedo
  calcced
@@ -644,24 +644,31 @@
     Calccedo
+Handler
  calccedo=ne
@@ -668,25 +668,28 @@
 cedo
+Handler
 =new 
-Test
 Calccedo
 ();%0A
@@ -684,16 +684,23 @@
 Calccedo
+Handler
 ();%0A    
@@ -694,32 +694,71 @@
 ndler();%0A       
+calccedoHandler.enableDeepTrace(true);%0A
 %0A       // now l
@@ -928,16 +928,23 @@
 calccedo
+Handler
 .calcula

Update TestCalccedo.java