File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"exercise" : " leap" ,
3
- "version" : " 1.2 .0" ,
3
+ "version" : " 1.3 .0" ,
4
4
"cases" : [
5
5
{
6
6
"description" : " year not divisible by 4: common year" ,
7
7
"property" : " leapYear" ,
8
- "input" : 2015 ,
8
+ "input" : {
9
+ "year" : 2015
10
+ },
9
11
"expected" : false
10
12
},
11
13
{
12
14
"description" : " year divisible by 4, not divisible by 100: leap year" ,
13
15
"property" : " leapYear" ,
14
- "input" : 1996 ,
16
+ "input" : {
17
+ "year" : 1996
18
+ },
15
19
"expected" : true
16
20
},
17
21
{
18
22
"description" : " year divisible by 100, not divisible by 400: common year" ,
19
23
"property" : " leapYear" ,
20
- "input" : 2100 ,
24
+ "input" : {
25
+ "year" : 2100
26
+ },
21
27
"expected" : false
22
28
},
23
29
{
24
30
"description" : " year divisible by 400: leap year" ,
25
31
"property" : " leapYear" ,
26
- "input" : 2000 ,
32
+ "input" : {
33
+ "year" : 2000
34
+ },
27
35
"expected" : true
28
36
}
29
37
]
30
- }
38
+ }
You can’t perform that action at this time.
0 commit comments