|
9 | 9 | ], |
10 | 10 | "cases": [ |
11 | 11 | { |
12 | | - "description": "matching birthday", |
| 12 | + "description": "shared birthday", |
13 | 13 | "cases": [ |
14 | 14 | { |
15 | 15 | "uuid": "f7b3eb26-bcfc-4c1e-a2de-af07afc33f45", |
16 | 16 | "description": "same year, month, and day", |
17 | | - "property": "matchingBirthday", |
| 17 | + "property": "sharedBirthday", |
18 | 18 | "input": { |
19 | 19 | "birthdate1": "2000-01-01", |
20 | 20 | "birthdate2": "2000-01-01" |
|
24 | 24 | { |
25 | 25 | "uuid": "7193409a-6e16-4bcb-b4cc-9ffe55f79b25", |
26 | 26 | "description": "same year and month, but different day", |
27 | | - "property": "matchingBirthday", |
| 27 | + "property": "sharedBirthday", |
28 | 28 | "input": { |
29 | 29 | "birthdate1": "2012-05-09", |
30 | 30 | "birthdate2": "2012-05-17" |
|
34 | 34 | { |
35 | 35 | "uuid": "d04db648-121b-4b72-93e8-d7d2dced4495", |
36 | 36 | "description": "same month and day, but different year", |
37 | | - "property": "matchingBirthday", |
| 37 | + "property": "sharedBirthday", |
38 | 38 | "input": { |
39 | 39 | "birthdate1": "1999-10-23", |
40 | 40 | "birthdate2": "1988-10-23" |
|
44 | 44 | { |
45 | 45 | "uuid": "3c8bd0f0-14c6-4d4c-975a-4c636bfdc233", |
46 | 46 | "description": "same year, but different month and day", |
47 | | - "property": "matchingBirthday", |
| 47 | + "property": "sharedBirthday", |
48 | 48 | "input": { |
49 | 49 | "birthdate1": "2007-12-19", |
50 | 50 | "birthdate2": "2007-04-27" |
|
54 | 54 | { |
55 | 55 | "uuid": "df5daba6-0879-4480-883c-e855c99cdaa3", |
56 | 56 | "description": "different year, month, and day", |
57 | | - "property": "matchingBirthday", |
| 57 | + "property": "sharedBirthday", |
58 | 58 | "input": { |
59 | 59 | "birthdate1": "1997-08-04", |
60 | 60 | "birthdate2": "1963-11-23" |
|
113 | 113 | ] |
114 | 114 | }, |
115 | 115 | { |
116 | | - "description": "has shared birthdays", |
| 116 | + "description": "contains shared birthdays", |
117 | 117 | "cases": [ |
118 | 118 | { |
119 | 119 | "uuid": "ade37c87-f41d-4929-962a-286b4d1d048a", |
120 | | - "description": "with match", |
121 | | - "property": "hasSharedBirthday", |
| 120 | + "description": "with shared birthday", |
| 121 | + "property": "containsSharedBirthday", |
122 | 122 | "input": { |
123 | 123 | "birthdates": ["1970-01-19", "1975-06-03", "2003-01-19"] |
124 | 124 | }, |
125 | 125 | "expected": true |
126 | 126 | }, |
127 | 127 | { |
128 | 128 | "uuid": "1d155b33-c6e1-46b9-81fa-09123ae378ea", |
129 | | - "description": "without match", |
130 | | - "property": "hasSharedBirthday", |
| 129 | + "description": "without shared birthday", |
| 130 | + "property": "containsSharedBirthday", |
131 | 131 | "input": { |
132 | 132 | "birthdates": ["1984-04-05", "2000-09-17", "1966-10-12"] |
133 | 133 | }, |
|
0 commit comments