Mercurial Hosting > traffic-intelligence
comparison 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 |
comparison
equal
deleted
inserted
replaced
161:41a5853ec495 | 162:61fd5aff418c |
---|---|
1 #define BOOST_TEST_MODULE traffic intelligence | |
2 | |
3 #include <boost/test/unit_test.hpp> | |
4 #include <boost/test/floating_point_comparison.hpp> | |
5 | |
6 using namespace std; | |
7 | |
8 BOOST_AUTO_TEST_SUITE(test_process) | |
9 | |
10 BOOST_AUTO_TEST_CASE(feature_stationary) { | |
11 int i=5; | |
12 BOOST_CHECK_EQUAL(i, 5); | |
13 } | |
14 | |
15 BOOST_AUTO_TEST_SUITE_END() |