Skip to content

Commit 6fb708c

Browse files
committed
Introduce bug in gtest suite (expect failure)
1 parent f7add5e commit 6fb708c

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

.github/workflows/unit-tests.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,6 @@ jobs:
8282
runVcpkgInstall: true
8383
# Release 2023.04.15
8484
vcpkgGitCommitId: '501db0f17ef6df184fcdbfbe0f87cde2313b6ab1'
85-
- name: Test-drive early exit with failure
86-
run: exit 1
8785
- name: Patch vcpkg library headers with patchelf
8886
run: |
8987
cd vcpkg

cpp/test/test_filtering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ TEST(FilteringHTest, TransPolyfitter) {
7676
unsigned int count=0;
7777
for (unsigned int p=p_start; p <= p_end; ++p, ++count) {
7878
for (unsigned int f=0; f < n_frames; ++f) {
79-
ASSERT_LT(std::abs(y[p*n_frames+f] - y2[count*n_frames+f]), epsilon);
79+
ASSERT_GT(std::abs(y[p*n_frames+f] - y2[count*n_frames+f]), epsilon);
8080
}
8181
}
8282
}

0 commit comments

Comments
 (0)