ETB: expand automated testing #115

This commit is contained in:
rusefi 2020-02-22 23:18:02 -05:00
parent 299dd7e836
commit 04a4e2bca3
2 changed files with 6 additions and 0 deletions

View File

@ -2,6 +2,8 @@
* @file electronic_throttle.cpp
* @brief Electronic Throttle driver
*
* @see test test_etb.cpp
*
*
* Limited user documentation at https://github.com/rusefi/rusefi_documentation/wiki/HOWTO_electronic_throttle_body
*

View File

@ -61,6 +61,10 @@ TEST(etb, singleEtbInitialization) {
ASSERT_EQ(0, mocks[1].startCount) << "2nd start";
// todo: set mock pedal position
// todo: set mock ETB throttle position
// todo: invoke EtbController#PeriodicTask a few times and assert that duty cycle changes
}