CNNThreshold removed for Analog100 and Digital100

This commit is contained in:
Frank Haverland
2022-07-28 19:43:45 +02:00
parent c124c38e70
commit 4a8d6592ab
2 changed files with 13 additions and 17 deletions

View File

@@ -88,5 +88,14 @@ void test_ZeigerEvalHybrid() {
// the 4.4 (digital100) is not above 5 and the previous digit (analog) not over Zero (9.5)
TEST_ASSERT_EQUAL(4, undertest.ZeigerEvalHybrid(4.5, 9.5, 9));
// 59.96889 - Pre: 58.94888
// 8.6 : 9.8 : 6.7
// the 4.4 (digital100) is not above 5 and the previous digit (analog) not over Zero (9.5)
TEST_ASSERT_EQUAL(8, undertest.ZeigerEvalHybrid(8.6, 9.8, 9));
// issue #879 vorgaenger is -1, zahl = 6.7
//TEST_ASSERT_EQUAL(7, undertest.ZeigerEvalHybrid(6.7, -1.0, -1));
}