summaryrefslogtreecommitdiff
path: root/src/tests/formula.cpp
blob: 5237b87792d082909213ac593114cc4b5b2b59bb (plain)
1
2
3
4
5
6
7
8
9
10
11
#include "bu/formula.h"

int main( int argc, char *argv[] )
{
	Bu::Formula<uint32_t> uForm;
	Bu::Formula<double> dForm;

	printf("u: %s = %u\n", argv[1], uForm.run( argv[1] ) );
	printf("d: %s = %f\n", argv[1], dForm.run( argv[1] ) );
}