Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: Weapons/Weapons_test.h
- Revision:
- 82:3211b31e9421
- Parent:
- 37:a05eac7fcb4c
- Child:
- 85:87bc28b151d8
--- a/Weapons/Weapons_test.h Mon May 25 15:59:14 2020 +0000 +++ b/Weapons/Weapons_test.h Mon May 25 18:39:51 2020 +0000 @@ -8,7 +8,7 @@ * @return true if test are passed */ bool weapons_draw_test(int expected_pixel_status,bool direction, -int bullet_movement, int expected_postion_x, int expected_postion_y){ +int bullet_movement, int expected_postion_x, int expected_postion_y) { // Objects reqired for test Weapons bullet; Spaceship spaceship; @@ -21,8 +21,8 @@ printf("draw_bullet = %d,%d : ", expected_postion_x, expected_postion_y); - //Draws bullet in different posisions - for(int i = 0;i <= bullet_movement; i++){ + // Draws bullet in different posisions + for(int i = 0;i <= bullet_movement; i++) { bullet.draw_bullet(lcd); }