Bruno Allaire-Lemay
/
APP1test
df
Fork of APP1 by
TestUtility.hpp@12:1c341b119b23, 2017-01-15 (annotated)
- Committer:
- GaiSensei
- Date:
- Sun Jan 15 19:46:10 2017 +0000
- Revision:
- 12:1c341b119b23
- Parent:
- 9:12519f9dd3cd
- Child:
- 13:bb9669053eb3
Add utility function update_bit; ; Calculate new 4 byte value after changing a single bit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dupm2216 | 6:3facf0329142 | 1 | #ifndef TEST_UTILITY_HPP |
dupm2216 | 6:3facf0329142 | 2 | #define TEST_UTILITY_HPP |
dupm2216 | 6:3facf0329142 | 3 | |
dupm2216 | 6:3facf0329142 | 4 | namespace utility |
dupm2216 | 6:3facf0329142 | 5 | { |
dupm2216 | 6:3facf0329142 | 6 | void run_all_tests(); |
dupm2216 | 6:3facf0329142 | 7 | void test_is_almost_equal(); |
dupm2216 | 6:3facf0329142 | 8 | void test_wrap_angle(); |
dupm2216 | 6:3facf0329142 | 9 | void test_degree_from_radian(); |
GaiSensei | 12:1c341b119b23 | 10 | void test_update_bit(); |
GaiSensei | 12:1c341b119b23 | 11 | void test_update_bit_for_values_greater_than_one_byte(); |
dupm2216 | 9:12519f9dd3cd | 12 | } |
dupm2216 | 6:3facf0329142 | 13 | |
dupm2216 | 6:3facf0329142 | 14 | #endif |