Ben Evans / Mbed 2 deprecated Defender_Game

Dependencies:   mbed

Revision:
79:66bcf8fa2d2d
Parent:
78:6a6c93c19ed1
Child:
82:3211b31e9421
--- a/HighScore/HighScore.h	Sun May 24 19:31:32 2020 +0000
+++ b/HighScore/HighScore.h	Sun May 24 21:11:55 2020 +0000
@@ -45,6 +45,12 @@
          */
         void no_high_scores(N5110 &lcd);
         
+        /** Runs the save test unit test
+         * @param lcd @details N5110 object
+         * @param sd @details sd card object
+         */
+        void run_save_test(SDFileSystem &sd, N5110 &lcd);
+        
     private:   
     // Function prototypes -----------------------------------------------------
         
@@ -53,5 +59,12 @@
          */
         void error_open_file(N5110 &lcd);
         
+        /** Save test unit test, checks the saving and reading functions work
+         * @param lcd @details N5110 object
+         * @param sd @details sd card object
+         * @param d_ @details Direction of joystick
+         */
+        bool save_test(int score,SDFileSystem &sd, N5110 &lcd);
+        
 };
 #endif
\ No newline at end of file