Skip to content

Commit fdeb836

Browse files
Change birthday to birthdates
1 parent 9a47667 commit fdeb836

File tree

1 file changed

+20
-20
lines changed

1 file changed

+20
-20
lines changed

exercises/baffling-birthdays/canonical-data.json

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"description": "matching birthday for same date",
1414
"property": "matchingBirthday",
1515
"input": {
16-
"birthday1": "2000-01-01",
17-
"birthday2": "2000-01-01"
16+
"birthdate1": "2000-01-01",
17+
"birthdate2": "2000-01-01"
1818
},
1919
"expected": true
2020
},
@@ -23,8 +23,8 @@
2323
"description": "matching birthday for same year and month but different day",
2424
"property": "matchingBirthday",
2525
"input": {
26-
"birthday1": "2012-05-09",
27-
"birthday2": "2012-05-17"
26+
"birthdate1": "2012-05-09",
27+
"birthdate2": "2012-05-17"
2828
},
2929
"expected": false
3030
},
@@ -33,8 +33,8 @@
3333
"description": "matching birthday for same month and day but different year",
3434
"property": "matchingBirthday",
3535
"input": {
36-
"birthday1": "1999-10-23",
37-
"birthday2": "1988-10-23"
36+
"birthdate1": "1999-10-23",
37+
"birthdate2": "1988-10-23"
3838
},
3939
"expected": true
4040
},
@@ -43,8 +43,8 @@
4343
"description": "matching birthday for same year but different month and day",
4444
"property": "matchingBirthday",
4545
"input": {
46-
"birthday1": "2007-12-19",
47-
"birthday2": "2007-04-27"
46+
"birthdate1": "2007-12-19",
47+
"birthdate2": "2007-04-27"
4848
},
4949
"expected": false
5050
},
@@ -53,24 +53,24 @@
5353
"description": "matching birthday for different year month and day",
5454
"property": "matchingBirthday",
5555
"input": {
56-
"birthday1": "1997-08-04",
57-
"birthday2": "1963-11-23"
56+
"birthdate1": "1997-08-04",
57+
"birthdate2": "1963-11-23"
5858
},
5959
"expected": false
6060
},
6161
{
6262
"uuid": "70b38cea-d234-4697-b146-7d130cd4ee12",
63-
"description": "random birthdays return specified number of birthdays",
63+
"description": "random birthdates return specified number of birthdays",
6464
"scenarios": ["random"],
65-
"property": "randomBirthdays",
65+
"property": "randomBirthdates",
6666
"input": {},
6767
"expected": "length == groupsize"
6868
},
6969
{
7070
"uuid": "d9d5b7d3-5fea-4752-b9c1-3fcd176d1b03",
71-
"description": "random birthdays have fixed year per batch",
71+
"description": "random birthdates have fixed year per batch",
7272
"scenarios": ["random"],
73-
"property": "randomBirthdays",
73+
"property": "randomBirthdates",
7474
"input": {},
7575
"expected": {
7676
"years": {
@@ -80,9 +80,9 @@
8080
},
8181
{
8282
"uuid": "8da69a53-6900-4b63-897d-9f025f149fd2",
83-
"description": "random birthdays have random year between batches",
83+
"description": "random birthdates have random year between batches",
8484
"scenarios": ["random"],
85-
"property": "randomBirthdays",
85+
"property": "randomBirthdates",
8686
"input": {},
8787
"expected": {
8888
"years": {
@@ -92,9 +92,9 @@
9292
},
9393
{
9494
"uuid": "d1074327-f68c-4c8a-b0ff-e3730d0f0521",
95-
"description": "random birthdays have random months",
95+
"description": "random birthdates have random months",
9696
"scenarios": ["random"],
97-
"property": "randomBirthdays",
97+
"property": "randomBirthdates",
9898
"input": {},
9999
"expected": {
100100
"months": {
@@ -104,9 +104,9 @@
104104
},
105105
{
106106
"uuid": "7df706b3-c3f5-471d-9563-23a4d0577940",
107-
"description": "random birthdays have random days",
107+
"description": "random birthdates have random days",
108108
"scenarios": ["random"],
109-
"property": "randomBirthdays",
109+
"property": "randomBirthdates",
110110
"input": {},
111111
"expected": {
112112
"days": {

0 commit comments

Comments
 (0)