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: Menu/Menu_test.h
- Revision:
- 82:3211b31e9421
- Parent:
- 70:8c4572d17441
- Child:
- 85:87bc28b151d8
diff -r 78c461e6770b -r 3211b31e9421 Menu/Menu_test.h
--- a/Menu/Menu_test.h Mon May 25 15:59:14 2020 +0000
+++ b/Menu/Menu_test.h Mon May 25 18:39:51 2020 +0000
@@ -7,14 +7,14 @@
* @date May 2020
* @return true if test are passed
*/
-bool menu_select_part_test(MenuParts expected_menu_part, bool pressed){
+bool menu_select_part_test(MenuParts expected_menu_part, bool pressed) {
// Objects reqired for test
Menu menu;
// Initialise the menu
menu.init();
- if(pressed){
+ if(pressed) {
printf("Expected menu part play : ");
}else{
printf("Expected menu part main menu : ");
@@ -34,7 +34,7 @@
}
}
-bool menu_scroll_test(Direction d_,MenuParts expected_menu_part){
+bool menu_scroll_test(Direction d_,MenuParts expected_menu_part) {
// Objects reqired for test
Menu menu;
@@ -62,7 +62,7 @@
}
bool menu_draw_part_test(int expected_pixel_status,
-int expected_postion_x, int expected_postion_y){
+int expected_postion_x, int expected_postion_y) {
// Objects reqired for test
Menu menu;
N5110 lcd;