move to charger.cpp complete, stubs & TODOs for missing tests
This commit is contained in:
Binary file not shown.
@@ -3,4 +3,6 @@
|
||||
#include "timer_mock.h"
|
||||
#include "digio_mock.h"
|
||||
#include "charger.h"
|
||||
uint32_t startTime;
|
||||
PiController dcCurController;
|
||||
#endif
|
||||
|
||||
+4
-1
@@ -3,7 +3,6 @@
|
||||
#endif
|
||||
#include <assert.h>
|
||||
#include "test_common.h"
|
||||
uint32_t startTime;
|
||||
|
||||
void test_calc_totals()
|
||||
{
|
||||
@@ -238,3 +237,7 @@ void test_calc_enable(){
|
||||
//}
|
||||
//assert(3 == canenable);
|
||||
}
|
||||
|
||||
// TODO: test_charger_state_machine(){}
|
||||
// TODO: test_calc_ac_current_limit(){}
|
||||
// TODO: test_check_charger_faults(){}
|
||||
|
||||
Reference in New Issue
Block a user