Skip to content
This repository was archived by the owner on Jul 26, 2025. It is now read-only.

Commit c7fb312

Browse files
committed
test: fix all tests
1 parent 74d5871 commit c7fb312

File tree

34 files changed

+150
-2982
lines changed

34 files changed

+150
-2982
lines changed

src/featureMatching/descriptors/__tests__/__snapshots__/getBriefDescriptors.test.ts.snap

Lines changed: 0 additions & 2849 deletions
This file was deleted.

src/featureMatching/descriptors/__tests__/getBriefDescriptors.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ test('count occurences of 1 and 0 with default options', () => {
1717
const onesPercentage = (nbOnes / descriptor.length) * 100;
1818

1919
// in the BRIEF article, they say that the optimal value would be 50%
20-
expect(onesPercentage).toBeCloseTo(47.66);
20+
expect(onesPercentage).toBeCloseTo(46.09);
2121
});
2222

2323
test('patch size error', () => {
803 Bytes
Loading
Loading
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)