iphreeqc/classes/test.cxx
David L Parkhurst 60a1544019 Copying new classes (cxx) and cpp files to src
Will remove cpp and header files and make phreeqc an external directory.




git-svn-id: svn://136.177.114.72/svn_GW/phreeqcpp/trunk@785 1feff8c3-07ed-0310-ac33-dd36852eb9cd
2006-02-16 00:21:39 +00:00

24 lines
525 B
C++

#include <cppunit/ui/text/TestRunner.h>
#include <cppunit/CompilerOutputter.h>
#include "TestCParser.h"
#include "TestCIsotope.h"
#include "TestCSolution.h"
int main(int argc, char **argv)
{
CppUnit::TextUi::TestRunner runner;
runner.addTest(TestCParser::suite());
runner.addTest(TestCIsotope::suite());
runner.addTest(TestCSolution::suite());
runner.setOutputter(
CppUnit::CompilerOutputter::defaultOutputter(&runner.result(), std::cout)
);
bool wasSucessful = runner.run("", false);
return wasSucessful;
}