Mercurial > hg > nsaunier > traffic-intelligence
comparison c/test_feature.cpp @ 196:aeab0b88c9b6
began testing of FeatureGraph
| author | Nicolas Saunier <nicolas.saunier@polymtl.ca> |
|---|---|
| date | Tue, 20 Dec 2011 00:31:37 -0500 |
| parents | 61fd5aff418c |
| children | f7ddfc4aeb1e |
comparison
equal
deleted
inserted
replaced
| 195:1247e26a8b5e | 196:aeab0b88c9b6 |
|---|---|
| 3 #include <boost/test/unit_test.hpp> | 3 #include <boost/test/unit_test.hpp> |
| 4 #include <boost/test/floating_point_comparison.hpp> | 4 #include <boost/test/floating_point_comparison.hpp> |
| 5 | 5 |
| 6 using namespace std; | 6 using namespace std; |
| 7 | 7 |
| 8 BOOST_AUTO_TEST_SUITE(test_process) | 8 BOOST_AUTO_TEST_SUITE(test_feature) |
| 9 | 9 |
| 10 BOOST_AUTO_TEST_CASE(feature_stationary) { | 10 BOOST_AUTO_TEST_CASE(feature_stationary) { |
| 11 int i=5; | 11 int i=5; |
| 12 BOOST_CHECK_EQUAL(i, 5); | 12 BOOST_CHECK_EQUAL(i, 5); |
| 13 } | 13 } |
