annotate 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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
162
61fd5aff418c added basics to run tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
1 #define BOOST_TEST_MODULE traffic intelligence
61fd5aff418c added basics to run tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
2
61fd5aff418c added basics to run tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
3 #include <boost/test/unit_test.hpp>
61fd5aff418c added basics to run tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
4 #include <boost/test/floating_point_comparison.hpp>
61fd5aff418c added basics to run tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
5
61fd5aff418c added basics to run tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
6 using namespace std;
61fd5aff418c added basics to run tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
7
196
aeab0b88c9b6 began testing of FeatureGraph
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents: 162
diff changeset
8 BOOST_AUTO_TEST_SUITE(test_feature)
162
61fd5aff418c added basics to run tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
9
61fd5aff418c added basics to run tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
10 BOOST_AUTO_TEST_CASE(feature_stationary) {
61fd5aff418c added basics to run tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
11 int i=5;
61fd5aff418c added basics to run tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
12 BOOST_CHECK_EQUAL(i, 5);
61fd5aff418c added basics to run tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
13 }
61fd5aff418c added basics to run tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
14
61fd5aff418c added basics to run tests
Nicolas Saunier <nicolas.saunier@polymtl.ca>
parents:
diff changeset
15 BOOST_AUTO_TEST_SUITE_END()