fix test for RPM inside spark skip RPM window (#6566)
This commit is contained in:
parent
5a05548da1
commit
61e18829f4
|
@ -75,8 +75,8 @@ std::vector<RpmTestData> SparkSkipRatioTest::generateNoLaunchSparkSkipTestData(c
|
||||||
{ false }
|
{ false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rpm = (TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END - TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START) / 2 (inside spark skip RPM window)",
|
"rpm = (TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START + TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END) / 2 (inside spark skip RPM window)",
|
||||||
(TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END - TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START) / 2,
|
(TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START + TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END) / 2,
|
||||||
expectedTargetSkipRatio,
|
expectedTargetSkipRatio,
|
||||||
{ false }
|
{ false }
|
||||||
},
|
},
|
||||||
|
@ -183,9 +183,9 @@ TEST_F(SparkSkipRatioTest, raisingRpmToLaunchCondition) {
|
||||||
{ false }
|
{ false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rpm = (TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END - TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START) / 2 (inside spark skip RPM window)",
|
"rpm = (TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START + TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END) / 2 (inside spark skip RPM window)",
|
||||||
(TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END - TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START) / 2,
|
(TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START + TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END) / 2,
|
||||||
(TEST_FINAL_IGNITION_CUT_RATIO - TEST_FINAL_IGNITION_CUT_RATIO) / 2,
|
(TEST_INITIAL_IGNITION_CUT_RATIO + TEST_FINAL_IGNITION_CUT_RATIO) / 2,
|
||||||
{ false }
|
{ false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -240,9 +240,9 @@ TEST_F(SparkSkipRatioTest, raisingRpmWithoutLaunchCondition) {
|
||||||
{ false }
|
{ false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rpm = (TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END - TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START) / 2 (inside spark skip RPM window)",
|
"rpm = (TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START + TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END) / 2 (inside spark skip RPM window)",
|
||||||
(TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END - TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START) / 2,
|
(TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START + TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END) / 2,
|
||||||
(TEST_FINAL_IGNITION_CUT_RATIO - TEST_FINAL_IGNITION_CUT_RATIO) / 2,
|
(TEST_INITIAL_IGNITION_CUT_RATIO + TEST_FINAL_IGNITION_CUT_RATIO) / 2,
|
||||||
{ false }
|
{ false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -297,8 +297,8 @@ TEST_F(SparkSkipRatioTest, raisingRpmWithDisabledIgnitionCut) {
|
||||||
{ false }
|
{ false }
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"rpm = (TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END - TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START) / 2 (inside spark skip RPM window)",
|
"rpm = (TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START + TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END) / 2 (inside spark skip RPM window)",
|
||||||
(TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END - TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START) / 2,
|
(TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_START + TEST_LAUNCH_SPARK_SKIP_RPM_WINDOW_END) / 2,
|
||||||
0.0f,
|
0.0f,
|
||||||
{ false }
|
{ false }
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue