Commit 8d9130aa authored by Mathieu Giraud's avatar Mathieu Giraud

tests: revert the use of #TAP_TEST_EQUAL for two tests

See #2989.
parent d7006c79
Pipeline #14464 passed with stages
in 17 seconds
......@@ -83,7 +83,7 @@ void testRCInsertAcAutomaton() {
AFFECT_UNKNOWN };
TAP_TEST(results.size() == expected.size(), TEST_AC_GET_RESULTS, "");
TAP_TEST_EQUAL(results, expected, TEST_AC_GET_RESULTS, "");
TAP_TEST(results == expected, TEST_AC_GET_RESULTS, "");
}
......
......@@ -362,7 +362,7 @@ void testBestLengthShifts() {
pair<int, int> result = WindowExtractor::get_best_length_shifts(100, 30,
param.first,
param.second);
TAP_TEST_EQUAL(result, expected, TEST_EXTRACTOR_LENGTH_SHIFT,
TAP_TEST(result == expected, TEST_EXTRACTOR_LENGTH_SHIFT,
"Obtained (" << result.first << ", " << result.second
<< ") but expected (" << expected.first << ", "
<< expected.second << ") "
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment