mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-03 09:49:32 +02:00
Add working unit tests
This commit is contained in:
parent
f609d54a14
commit
995cc7784c
106 changed files with 589 additions and 582 deletions
16
test/tests.cpp
Normal file
16
test/tests.cpp
Normal file
|
@ -0,0 +1,16 @@
|
|||
#include <gtest/gtest.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#include "../Software/src/datalayer/datalayer.h"
|
||||
#include "../Software/src/devboard/safety/safety.h"
|
||||
#include "../Software/src/devboard/utils/events.h"
|
||||
#include "../Software/src/inverter/ModbusInverterProtocol.h"
|
||||
|
||||
int main(int argc, char** argv) {
|
||||
testing::InitGoogleTest(&argc, argv);
|
||||
return RUN_ALL_TESTS();
|
||||
}
|
||||
|
||||
void store_settings_equipment_stop(void) {}
|
||||
|
||||
ModbusInverterProtocol::ModbusInverterProtocol() {}
|
Loading…
Add table
Add a link
Reference in a new issue