This commit is contained in:
rusefi 2019-01-19 20:29:10 -05:00
parent 69d65ce044
commit d6d6d7a58f
1 changed files with 6 additions and 1 deletions

View File

@ -12,7 +12,7 @@
// todo: this should be improved to use relative 6 digit precision not just digits after decimal point
#define ASSERT_FLOAT_EQ(x, y) ASSERT_DOUBLE_EQ(round_2d(x), round_2d(y))
TEST(fuel, maf2map) {
TEST(maf2map, util) {
EngineTestHelper eth(FORD_ASPIRE_1996);
EXPAND_EngineTestHelper;
@ -22,5 +22,10 @@ TEST(fuel, maf2map) {
ASSERT_FLOAT_EQ(61.1, estimateMapByRpmAndMaf(8000, 0.6));
ASSERT_FLOAT_EQ(1.4, estimateMapByRpmAndMaf(2000, 5.6));
}
TEST(maf2map, integrated) {
EngineTestHelper eth(MIATA_NA6_VAF);
}