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: HUD/HUD_test.h
- Revision:
- 85:87bc28b151d8
- Parent:
- 82:3211b31e9421
--- a/HUD/HUD_test.h Tue May 26 14:39:45 2020 +0000
+++ b/HUD/HUD_test.h Tue May 26 19:38:48 2020 +0000
@@ -2,7 +2,7 @@
#define HUD_TEST_H
/** HUD Test
- * @brief Checks that the differnt parts of the hud draw
+ * @brief Checks that the different parts of the hud draw
* @author Benjamin Evans, University of Leeds
* @date May 2020
* @return true if test are passed
@@ -10,7 +10,7 @@
bool HUD_draw_test(int spaceship_lives, int points, int smart_bomb_counter,
int expected_pixel_status, int expected_postion_x, int expected_postion_y) {
- // Objects reqired for test
+ // Objects required for test
HUD hud;
N5110 lcd;
@@ -25,7 +25,7 @@
int actual_pixel_status = lcd.getPixel(expected_postion_x,
expected_postion_y);
- // Checks if pixel is drawn and therefor testing it hasnt gone of screen
+ // Checks if pixel is drawn and therefor testing it hasn’t gone of screen
if (actual_pixel_status == expected_pixel_status) {
printf ( "Passed!\n");
return true;
@@ -35,4 +35,4 @@
return false;
}
}
-#endif
\ No newline at end of file
+#endif