Ben Evans / Mbed 2 deprecated Defender_Game

Dependencies:   mbed

Revision:
82:3211b31e9421
Parent:
37:a05eac7fcb4c
Child:
85:87bc28b151d8
diff -r 78c461e6770b -r 3211b31e9421 Weapons/Weapons_test.h
--- 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);
     }