From fb899cdefb80625339c423602c21d2b301fca66e Mon Sep 17 00:00:00 2001 From: rusefillc Date: Tue, 16 Jan 2024 11:02:26 -0500 Subject: [PATCH] only: inline method & dead code --- unit_tests/tests/test_change_engine_type.cpp | 2 +- unit_tests/tests/trigger/test_trigger_decoder.cpp | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/unit_tests/tests/test_change_engine_type.cpp b/unit_tests/tests/test_change_engine_type.cpp index 4f838f7a74..927e4e0f9e 100644 --- a/unit_tests/tests/test_change_engine_type.cpp +++ b/unit_tests/tests/test_change_engine_type.cpp @@ -25,7 +25,7 @@ TEST(misc, changeEngineType) { // above we have asserted that triggerInputDebugPins is in fact used // now let's change into engine type without triggerInputDebugPins and assert shut down - setEngineType((int)engine_type_e::CITROEN_TU3JP); + setEngineType((int)engine_type_e::DODGE_NEON_1995); ASSERT_TRUE(activeConfiguration.triggerInputDebugPins[0] == Gpio::Unassigned); ASSERT_TRUE(engineConfiguration->triggerInputDebugPins[0] == Gpio::Unassigned); diff --git a/unit_tests/tests/trigger/test_trigger_decoder.cpp b/unit_tests/tests/trigger/test_trigger_decoder.cpp index 67312639ea..6e52eb6574 100644 --- a/unit_tests/tests/trigger/test_trigger_decoder.cpp +++ b/unit_tests/tests/trigger/test_trigger_decoder.cpp @@ -359,7 +359,6 @@ TEST(trigger, testTriggerDecoder) { testTriggerDecoder2("test engine", engine_type_e::TEST_ENGINE, 0, 0.7500, 0.2500); testTriggerDecoder2("testGY6_139QMB", engine_type_e::GY6_139QMB, 0, 0.4375, 0.0); - testTriggerDecoder2("testSubary", engine_type_e::SUBARU_2003_WRX, 0, 0.4000, 0.0); testTriggerDecoder2("testFordEscortGt", engine_type_e::FORD_ESCORT_GT, 0, 0.8096, 0.3844); @@ -367,10 +366,6 @@ TEST(trigger, testTriggerDecoder) { testTriggerDecoder2("test1+1", engine_type_e::DEFAULT_FRANKENSO, 0, 0.7500, 0.2500); - testTriggerDecoder2("testCitroen", engine_type_e::CITROEN_TU3JP, 0, 0.4833, 0); - - testTriggerDecoder2("citroen", engine_type_e::CITROEN_TU3JP, 0, 0.4833, 0.0, 2.9994); - testTriggerDecoder2("CAMARO_4", engine_type_e::CAMARO_4, 40, 0.5, 0); testTriggerDecoder2("neon NGC4", engine_type_e::DODGE_NEON_2003_CRANK, 6, 0.5000, 0.0, CHRYSLER_NGC4_GAP);