aboutsummaryrefslogtreecommitdiff
path: root/src/old/tests/formula.cpp
blob: 976b039ba39d647096e44239f169f272c1845a2f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include "formula.h"

int main( int argc, char *argv[] )
{
	if( argc < 2 ) return 0;

	Formula f;
	double dOut = f.run( argv[1] );
	printf("%s = %f\n", argv[1], dOut );
	
	return 0;
}