This commit is contained in:
Andrey 2022-09-24 15:37:51 -04:00
parent 0eef498b3e
commit 33be12541b
2 changed files with 20 additions and 0 deletions

View File

@ -17,6 +17,7 @@ TESTS_SRC_CPP = \
tests/trigger/test_real_nb2_cranking.cpp \
tests/trigger/test_real_gm_24x.cpp \
tests/trigger/test_real_k24a2.cpp \
tests/trigger/test_real_k20.cpp \
tests/trigger/test_map_cam.cpp \
tests/trigger/test_rpm_multiplier.cpp \
tests/trigger/test_quad_cam.cpp \

View File

@ -0,0 +1,19 @@
#include "pch.h"
#include "logicdata_csv_reader.h"
TEST(realk20, cranking) {
CsvReader reader(/* triggerCount */ 1, /* vvtCount */ 2);
reader.open("tests/trigger/resources/civic-K20-cranking.csv", SINGLE_TRIGGER_FIRST);
EngineTestHelper eth (PROTEUS_HONDA_ELEMENT_2003);
while (reader.haveMore()) {
// todo reader.processLine(&eth);
}
}