Librairie xbee.
Dependents: NerfUS-Coord NerfUSTarget
Fork of APP3_xbee by
test.h@0:8f5379c94a69, 2017-02-11 (annotated)
- Committer:
- dupm2216
- Date:
- Sat Feb 11 20:47:45 2017 +0000
- Revision:
- 0:8f5379c94a69
- Child:
- 3:37ea92feece2
Moved xbee to library
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dupm2216 | 0:8f5379c94a69 | 1 | #ifndef TEST_HPP |
dupm2216 | 0:8f5379c94a69 | 2 | #define TEST_HPP |
dupm2216 | 0:8f5379c94a69 | 3 | |
dupm2216 | 0:8f5379c94a69 | 4 | #include <vector> |
dupm2216 | 0:8f5379c94a69 | 5 | |
dupm2216 | 0:8f5379c94a69 | 6 | void assert_vector_equal(const std::vector<char> v1, const std::vector<char> v2); |
dupm2216 | 0:8f5379c94a69 | 7 | |
dupm2216 | 0:8f5379c94a69 | 8 | void run_all_tests(); |
dupm2216 | 0:8f5379c94a69 | 9 | void assert_vector_equal_test(); |
dupm2216 | 0:8f5379c94a69 | 10 | std::vector<char> construct_vector(const char* content); |
dupm2216 | 0:8f5379c94a69 | 11 | void generate_transmit_request_test(); |
dupm2216 | 0:8f5379c94a69 | 12 | void parse_receive_packet_test(); |
dupm2216 | 0:8f5379c94a69 | 13 | |
dupm2216 | 0:8f5379c94a69 | 14 | #endif |