|
SyFi
0.3
|
#include <SyFi.h>Go to the source code of this file.
Functions | |
| int | main () |
| 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;
}