Skip to content

Commit

Permalink
prefer true/false over 1/0
Browse files Browse the repository at this point in the history
  • Loading branch information
mck1117 committed Sep 13, 2024
1 parent 367cb28 commit 48488b4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions unit_tests/tests/ignition_injection/test_fuelCut.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ TEST(fuelCut, coasting) {
engineConfiguration->coastingFuelCutRpmHigh = 1500;
engineConfiguration->coastingFuelCutTps = 2;
engineConfiguration->coastingFuelCutClt = 30;
engineConfiguration->useTableForDfcoMap = 0;
engineConfiguration->coastingFuelCutMap = 100;
// set cranking threshold
engineConfiguration->cranking.rpm = 999;
Expand Down Expand Up @@ -142,7 +141,7 @@ TEST(fuelCut, delay) {
engineConfiguration->coastingFuelCutRpmHigh = 1500;
engineConfiguration->coastingFuelCutTps = 2;
engineConfiguration->coastingFuelCutClt = 30;
engineConfiguration->useTableForDfcoMap = 0;
engineConfiguration->useTableForDfcoMap = false;
engineConfiguration->coastingFuelCutMap = 100;
// set cranking threshold
engineConfiguration->cranking.rpm = 999;
Expand Down Expand Up @@ -219,7 +218,7 @@ TEST(fuelCut, mapTable) {
engineConfiguration->cranking.rpm = 999;

//setup MAP cutoff table
engineConfiguration->useTableForDfcoMap = 1;
engineConfiguration->useTableForDfcoMap = true;
copyArray(config->dfcoMapRpmValuesBins, { 2000, 3000, 4000, 5000 });
copyArray(config->dfcoMapRpmValues, { 50, 30, 20, 10 });

Expand Down

0 comments on commit 48488b4

Please sign in to comment.