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: Spaceship/Spaceship_test.h
- Revision:
- 65:daa792a09e1f
- Parent:
- 27:8bb2bd97c319
- Child:
- 82:3211b31e9421
--- a/Spaceship/Spaceship_test.h Thu May 21 14:26:23 2020 +0000 +++ b/Spaceship/Spaceship_test.h Thu May 21 17:21:53 2020 +0000 @@ -10,6 +10,7 @@ */ bool spaceship_movement_test(Direction d_, int expected_x,int expected_y){ // Objects reqired for test + FXOS8700CQ accelerometer(I2C_SDA,I2C_SCL); Gamepad pad; Spaceship spaceship; @@ -35,8 +36,7 @@ printf ( "Failed! value = %d,%d (expecting %d,%d)\n", finish_x_postion, finish_y_postion, expected_x, expected_y); return false; - } - + } } bool spaceship_draw_test(Direction d_, int expected_pixel_status,