Merge pull request #972 from haverland/rolling

add test case for #921
This commit is contained in:
jomjol
2022-09-03 18:04:36 +02:00
committed by GitHub
5 changed files with 8 additions and 0 deletions

View File

@@ -175,6 +175,14 @@ void test_doFlow() {
result = process_doFlow(analogs, digits);
TEST_ASSERT_EQUAL_STRING(expected, result.c_str());
// Fehler bei V11.2.0
// https://github.com/jomjol/AI-on-the-edge-device/issues/921#issuecomment-1236119370
digits = { 3.1, 9.1, 5.7}; // 9.1 führt zu falscher Erkennung eines unvollständigen Übergangs
analogs = { 8.8, 6.1, 3.0, 2.0};
expected = "395.8632";
result = process_doFlow(analogs, digits);
TEST_ASSERT_EQUAL_STRING(expected, result.c_str());
}

Binary file not shown.

Binary file not shown.