NB2 hellen-72-rev-d something is off #2958
This commit is contained in:
parent
fb1a60e0ba
commit
7fd2e8275f
|
@ -10,6 +10,17 @@
|
|||
#include "logicdata_csv_reader.h"
|
||||
|
||||
TEST(crankingNB2, nb2RealCrankingFromFile) {
|
||||
CsvReader reader(1, /* vvtCount */ 1);
|
||||
int indeces[1] = {0};
|
||||
|
||||
reader.open("tests/trigger/resources/nb2_rev-d-4.csv", indeces);
|
||||
WITH_ENGINE_TEST_HELPER (ET_HELLEN_NB2);
|
||||
|
||||
while (eth.getTimeNowUs() < 3'028'987) {
|
||||
reader.processLine(ð);
|
||||
ASSERT_EQ(0, GET_RPM()) << "At line " << reader.lineIndex() << " time " << eth.getTimeNowUs();
|
||||
}
|
||||
ASSERT_EQ(243, GET_RPM()) << "At line " << reader.lineIndex() << " time " << eth.getTimeNowUs();
|
||||
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue