1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/src/work/marci/lp/expression_test.cc Wed Jan 26 15:54:06 2005 +0000
1.3 @@ -0,0 +1,23 @@
1.4 +#include <expression.h>
1.5 +#include <iostream>
1.6 +#include <string>
1.7 +
1.8 +using std::cout;
1.9 +using std::endl;
1.10 +using std::string;
1.11 +using namespace lemon;
1.12 +
1.13 +int main() {
1.14 + Expr<string, double> b;
1.15 + cout << b << endl;
1.16 + Expr<string, double> c("f");
1.17 + cout << c << endl;
1.18 + Expr<string, double> d=8.0*string("g");
1.19 + cout << d << endl;
1.20 + c*=5;
1.21 + cout << c << endl;
1.22 + Expr<string, double> e=c;
1.23 + e+=8.9*9.0*string("l");
1.24 + cout << e << endl;
1.25 + cout << c+d << endl;
1.26 +}