diff c/test_feature.cpp @ 162:61fd5aff418c

added basics to run tests
author Nicolas Saunier <nicolas.saunier@polymtl.ca>
date Tue, 27 Sep 2011 00:34:03 -0400
parents
children aeab0b88c9b6
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/c/test_feature.cpp	Tue Sep 27 00:34:03 2011 -0400
@@ -0,0 +1,15 @@
+#define BOOST_TEST_MODULE traffic intelligence
+
+#include <boost/test/unit_test.hpp>
+#include <boost/test/floating_point_comparison.hpp>
+
+using namespace std;
+
+BOOST_AUTO_TEST_SUITE(test_process)
+
+BOOST_AUTO_TEST_CASE(feature_stationary) {
+  int i=5;
+  BOOST_CHECK_EQUAL(i, 5);
+}
+
+BOOST_AUTO_TEST_SUITE_END()