Skip to content

Commit

Permalink
tests: Adapt unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonas Wilms committed Oct 12, 2024
1 parent e8dac02 commit e8dc708
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions common/match/matching.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit e8dc708

Please sign in to comment.