SyFi  0.3
simple_test.cpp File Reference
#include <SyFi.h>

Go to the source code of this file.

Functions

int main ()

Function Documentation

int main ( )

Definition at line 7 of file simple_test.cpp.

References SyFi::EQUAL_OR_DIE(), run_tests::f, and SyFi::x.

           {
    symbol x("x"); 
    ex f = x*x; 
    ex intf = integral(x,0,1,f);
    intf = eval_integ(intf);
    EQUAL_OR_DIE(intf, "1/3");

    return 0; 
}
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator