![](/media/cache/img/default_profile.jpg.50x50_q85.jpg)
contains my game for the embedded systems project 2645
Dependencies: mbed FXOS8700CQQQ
Diff: GameTests/tests.h
- Revision:
- 39:822b66b1c935
- Parent:
- 33:24ef796ff2c8
--- a/GameTests/tests.h Fri May 03 11:14:16 2019 +0000 +++ b/GameTests/tests.h Fri May 03 16:57:52 2019 +0000 @@ -124,18 +124,21 @@ bool test_Joystick_position(Gamepad &pad); /** * @brief method to test generated numbers - * @details it tests if the randomly genrated number is 1,2 or 3 and returns true otherwise false + * @details it tests if the randomly genrated number is 1,2 or 3 + * @returns true if the condition is met, false otherwise */ bool test_Generate_New_Enemy(); /** * @brief method to test the position of the accelerometer and prints its current state and return true * @param pad @details calls the Gamepad object to be passed to the methods called inside this method + * @returns true if the condition is met, false otherwise */ bool test_accelerometer_position(Gamepad &pad); /** * @brief method to test button presses in the menu and return true, false otherwise * @param pad @details calls the Gamepad object to be passed to the methods called inside this method * @param lcd @details calls the lcd object to be passed to the methods called inside this method + * @returns true if the condition is met, false otherwise */ bool test_check_button_pressed(Gamepad &pad,N5110 &lcd);