mirror of
https://github.com/jomjol/AI-on-the-edge-device.git
synced 2025-12-08 20:46:52 +03:00
testcase for #921 (2022-09-10)
This commit is contained in:
@@ -191,6 +191,15 @@ void test_doFlow() {
|
|||||||
result = process_doFlow(analogs, digits, Digital);
|
result = process_doFlow(analogs, digits, Digital);
|
||||||
TEST_ASSERT_EQUAL_STRING(expected, result.c_str());
|
TEST_ASSERT_EQUAL_STRING(expected, result.c_str());
|
||||||
|
|
||||||
|
// Fehler bei Rolling (2002-09-09)
|
||||||
|
// https://github.com/jomjol/AI-on-the-edge-device/issues/921#issuecomment-1242730397
|
||||||
|
digits = { 3.0, 2.0, 2.0, 8.0, 9.0, 4.0, 1.7, 9.8}; // falscher Wert 32290.420
|
||||||
|
analogs = { };
|
||||||
|
expected = "32289420";
|
||||||
|
result = process_doFlow(analogs, digits);
|
||||||
|
TEST_ASSERT_EQUAL_STRING(expected, result.c_str());
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user