From e8dc70866eca21a4bdecffa0e50cb87afe5f8f4b Mon Sep 17 00:00:00 2001 From: Jonas Wilms Date: Sat, 12 Oct 2024 20:00:02 +0200 Subject: [PATCH] tests: Adapt unit tests --- common/match/matching.spec.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/common/match/matching.spec.ts b/common/match/matching.spec.ts index 2d219d669..2e7c0095f 100644 --- a/common/match/matching.spec.ts +++ b/common/match/matching.spec.ts @@ -103,16 +103,16 @@ const offerFive = { describe('Matching Score Basics', () => { testScore('no subject', requestOne, offerTwo, NO_MATCH); - testScore('one subject', requestOne, offerOne, 0.505); - testScore('two subjects', requestFour, offerFour, 0.8819891071981035); - testScore('two requested one offered', requestFour, offerOne, 0.505); - testScore('one requested two offered', requestOne, offerFour, 0.505); + testScore('one subject', requestOne, offerOne, 0.515); + testScore('two subjects', requestFour, offerFour, 0.8843731656385458); + testScore('two requested one offered', requestFour, offerOne, 0.515); + testScore('one requested two offered', requestOne, offerFour, 0.515); testScore('one requested two offered - different state', requestOne, offerFive, 0.495); }); describe('Matching Score Mandatory', () => { testScore('mandatory not offered', requestFive, offerOne, NO_MATCH); - testScore('mandatory offered', requestFive, offerTwo, 0.505); + testScore('mandatory offered', requestFive, offerTwo, 0.515); }); describe('Matching Basics', () => {