Bruno Allaire-Lemay
/
APP1test
df
Fork of APP1 by
TestAccelerometer.hpp@21:a111be2582be, 2017-01-18 (annotated)
- Committer:
- dupm2216
- Date:
- Wed Jan 18 02:38:05 2017 +0000
- Revision:
- 21:a111be2582be
- Parent:
- 9:12519f9dd3cd
Add code header
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
dupm2216 | 21:a111be2582be | 1 | ///////////////////////////////////////////////////////////// |
dupm2216 | 21:a111be2582be | 2 | // APP 1: Systèmes à microprocesseurs // |
dupm2216 | 21:a111be2582be | 3 | // // |
dupm2216 | 21:a111be2582be | 4 | // Université de Sherbrooke // |
dupm2216 | 21:a111be2582be | 5 | // Génie informatique // |
dupm2216 | 21:a111be2582be | 6 | // Session 5, Hiver 2017 // |
dupm2216 | 21:a111be2582be | 7 | // // |
dupm2216 | 21:a111be2582be | 8 | // Date: 17 janvier 2017 // |
dupm2216 | 21:a111be2582be | 9 | // // |
dupm2216 | 21:a111be2582be | 10 | // Auteurs: Maxime Dupuis, dupm2216 // |
dupm2216 | 21:a111be2582be | 11 | // Bruno Allaire-Lemay, allb2701 // |
dupm2216 | 21:a111be2582be | 12 | ///////////////////////////////////////////////////////////// |
dupm2216 | 21:a111be2582be | 13 | |
dupm2216 | 3:1a9d0f0a50bf | 14 | #ifndef TEST_ACCELEROMETER_HPP |
dupm2216 | 3:1a9d0f0a50bf | 15 | #define TEST_ACCELEROMETER_HPP |
dupm2216 | 3:1a9d0f0a50bf | 16 | |
dupm2216 | 3:1a9d0f0a50bf | 17 | namespace accelerometer |
dupm2216 | 3:1a9d0f0a50bf | 18 | { |
dupm2216 | 3:1a9d0f0a50bf | 19 | void run_all_tests(); |
dupm2216 | 3:1a9d0f0a50bf | 20 | void test_raw_axis_data_to_int(); |
dupm2216 | 3:1a9d0f0a50bf | 21 | void test_set_standby_and_active(); |
dupm2216 | 5:f59b51ac4b40 | 22 | void test_g_force_from_int_axis_data(); |
dupm2216 | 5:f59b51ac4b40 | 23 | void test_angle_from_int_axis_data(); |
dupm2216 | 8:862e28c7f6f6 | 24 | void test_angle_from_int_axis_data_when_above_1g_is_corrected_to_zero(); |
dupm2216 | 9:12519f9dd3cd | 25 | } |
dupm2216 | 3:1a9d0f0a50bf | 26 | |
dupm2216 | 3:1a9d0f0a50bf | 27 | #endif |