File tree Expand file tree Collapse file tree 7 files changed +140
-0
lines changed Expand file tree Collapse file tree 7 files changed +140
-0
lines changed Original file line number Diff line number Diff line change 13
13
"data" : [1 , 1 ],
14
14
"valid" : false
15
15
},
16
+ {
17
+ "description" : " non-unique array of more than two integers is invalid" ,
18
+ "data" : [1 , 2 , 1 ],
19
+ "valid" : false
20
+ },
16
21
{
17
22
"description" : " numbers are unique if mathematically unequal" ,
18
23
"data" : [1.0 , 1.00 , 1 ],
28
33
"data" : [1 , true ],
29
34
"valid" : true
30
35
},
36
+ {
37
+ "description" : " unique array of strings is valid" ,
38
+ "data" : [" foo" , " bar" , " baz" ],
39
+ "valid" : true
40
+ },
41
+ {
42
+ "description" : " non-unique array of strings is invalid" ,
43
+ "data" : [" foo" , " bar" , " foo" ],
44
+ "valid" : false
45
+ },
31
46
{
32
47
"description" : " unique array of objects is valid" ,
33
48
"data" : [{"foo" : " bar" }, {"foo" : " baz" }],
64
79
"data" : [[" foo" ], [" foo" ]],
65
80
"valid" : false
66
81
},
82
+ {
83
+ "description" : " non-unique array of more than two arrays is invalid" ,
84
+ "data" : [[" foo" ], [" bar" ], [" foo" ]],
85
+ "valid" : false
86
+ },
67
87
{
68
88
"description" : " 1 and true are unique" ,
69
89
"data" : [1 , true ],
Original file line number Diff line number Diff line change 13
13
"data" : [1 , 1 ],
14
14
"valid" : false
15
15
},
16
+ {
17
+ "description" : " non-unique array of more than two integers is invalid" ,
18
+ "data" : [1 , 2 , 1 ],
19
+ "valid" : false
20
+ },
16
21
{
17
22
"description" : " numbers are unique if mathematically unequal" ,
18
23
"data" : [1.0 , 1.00 , 1 ],
28
33
"data" : [1 , true ],
29
34
"valid" : true
30
35
},
36
+ {
37
+ "description" : " unique array of strings is valid" ,
38
+ "data" : [" foo" , " bar" , " baz" ],
39
+ "valid" : true
40
+ },
41
+ {
42
+ "description" : " non-unique array of strings is invalid" ,
43
+ "data" : [" foo" , " bar" , " foo" ],
44
+ "valid" : false
45
+ },
31
46
{
32
47
"description" : " unique array of objects is valid" ,
33
48
"data" : [{"foo" : " bar" }, {"foo" : " baz" }],
64
79
"data" : [[" foo" ], [" foo" ]],
65
80
"valid" : false
66
81
},
82
+ {
83
+ "description" : " non-unique array of more than two arrays is invalid" ,
84
+ "data" : [[" foo" ], [" bar" ], [" foo" ]],
85
+ "valid" : false
86
+ },
67
87
{
68
88
"description" : " 1 and true are unique" ,
69
89
"data" : [1 , true ],
Original file line number Diff line number Diff line change 13
13
"data" : [1 , 1 ],
14
14
"valid" : false
15
15
},
16
+ {
17
+ "description" : " non-unique array of more than two integers is invalid" ,
18
+ "data" : [1 , 2 , 1 ],
19
+ "valid" : false
20
+ },
16
21
{
17
22
"description" : " numbers are unique if mathematically unequal" ,
18
23
"data" : [1.0 , 1.00 , 1 ],
28
33
"data" : [1 , true ],
29
34
"valid" : true
30
35
},
36
+ {
37
+ "description" : " unique array of strings is valid" ,
38
+ "data" : [" foo" , " bar" , " baz" ],
39
+ "valid" : true
40
+ },
41
+ {
42
+ "description" : " non-unique array of strings is invalid" ,
43
+ "data" : [" foo" , " bar" , " foo" ],
44
+ "valid" : false
45
+ },
31
46
{
32
47
"description" : " unique array of objects is valid" ,
33
48
"data" : [{"foo" : " bar" }, {"foo" : " baz" }],
64
79
"data" : [[" foo" ], [" foo" ]],
65
80
"valid" : false
66
81
},
82
+ {
83
+ "description" : " non-unique array of more than two arrays is invalid" ,
84
+ "data" : [[" foo" ], [" bar" ], [" foo" ]],
85
+ "valid" : false
86
+ },
67
87
{
68
88
"description" : " 1 and true are unique" ,
69
89
"data" : [1 , true ],
Original file line number Diff line number Diff line change 13
13
"data" : [1 , 1 ],
14
14
"valid" : false
15
15
},
16
+ {
17
+ "description" : " non-unique array of more than two integers is invalid" ,
18
+ "data" : [1 , 2 , 1 ],
19
+ "valid" : false
20
+ },
16
21
{
17
22
"description" : " numbers are unique if mathematically unequal" ,
18
23
"data" : [1.0 , 1.00 , 1 ],
19
24
"valid" : false
20
25
},
26
+ {
27
+ "description" : " unique array of strings is valid" ,
28
+ "data" : [" foo" , " bar" , " baz" ],
29
+ "valid" : true
30
+ },
31
+ {
32
+ "description" : " non-unique array of strings is invalid" ,
33
+ "data" : [" foo" , " bar" , " foo" ],
34
+ "valid" : false
35
+ },
21
36
{
22
37
"description" : " unique array of objects is valid" ,
23
38
"data" : [{"foo" : " bar" }, {"foo" : " baz" }],
54
69
"data" : [[" foo" ], [" foo" ]],
55
70
"valid" : false
56
71
},
72
+ {
73
+ "description" : " non-unique array of more than two arrays is invalid" ,
74
+ "data" : [[" foo" ], [" bar" ], [" foo" ]],
75
+ "valid" : false
76
+ },
57
77
{
58
78
"description" : " 1 and true are unique" ,
59
79
"data" : [1 , true ],
Original file line number Diff line number Diff line change 13
13
"data" : [1 , 1 ],
14
14
"valid" : false
15
15
},
16
+ {
17
+ "description" : " non-unique array of more than two integers is invalid" ,
18
+ "data" : [1 , 2 , 1 ],
19
+ "valid" : false
20
+ },
16
21
{
17
22
"description" : " numbers are unique if mathematically unequal" ,
18
23
"data" : [1.0 , 1.00 , 1 ],
28
33
"data" : [1 , true ],
29
34
"valid" : true
30
35
},
36
+ {
37
+ "description" : " unique array of strings is valid" ,
38
+ "data" : [" foo" , " bar" , " baz" ],
39
+ "valid" : true
40
+ },
41
+ {
42
+ "description" : " non-unique array of strings is invalid" ,
43
+ "data" : [" foo" , " bar" , " foo" ],
44
+ "valid" : false
45
+ },
31
46
{
32
47
"description" : " unique array of objects is valid" ,
33
48
"data" : [{"foo" : " bar" }, {"foo" : " baz" }],
64
79
"data" : [[" foo" ], [" foo" ]],
65
80
"valid" : false
66
81
},
82
+ {
83
+ "description" : " non-unique array of more than two arrays is invalid" ,
84
+ "data" : [[" foo" ], [" bar" ], [" foo" ]],
85
+ "valid" : false
86
+ },
67
87
{
68
88
"description" : " 1 and true are unique" ,
69
89
"data" : [1 , true ],
Original file line number Diff line number Diff line change 13
13
"data" : [1 , 1 ],
14
14
"valid" : false
15
15
},
16
+ {
17
+ "description" : " non-unique array of more than two integers is invalid" ,
18
+ "data" : [1 , 2 , 1 ],
19
+ "valid" : false
20
+ },
16
21
{
17
22
"description" : " numbers are unique if mathematically unequal" ,
18
23
"data" : [1.0 , 1.00 , 1 ],
28
33
"data" : [1 , true ],
29
34
"valid" : true
30
35
},
36
+ {
37
+ "description" : " unique array of strings is valid" ,
38
+ "data" : [" foo" , " bar" , " baz" ],
39
+ "valid" : true
40
+ },
41
+ {
42
+ "description" : " non-unique array of strings is invalid" ,
43
+ "data" : [" foo" , " bar" , " foo" ],
44
+ "valid" : false
45
+ },
31
46
{
32
47
"description" : " unique array of objects is valid" ,
33
48
"data" : [{"foo" : " bar" }, {"foo" : " baz" }],
64
79
"data" : [[" foo" ], [" foo" ]],
65
80
"valid" : false
66
81
},
82
+ {
83
+ "description" : " non-unique array of more than two arrays is invalid" ,
84
+ "data" : [[" foo" ], [" bar" ], [" foo" ]],
85
+ "valid" : false
86
+ },
67
87
{
68
88
"description" : " 1 and true are unique" ,
69
89
"data" : [1 , true ],
Original file line number Diff line number Diff line change 13
13
"data" : [1 , 1 ],
14
14
"valid" : false
15
15
},
16
+ {
17
+ "description" : " non-unique array of more than two integers is invalid" ,
18
+ "data" : [1 , 2 , 1 ],
19
+ "valid" : false
20
+ },
16
21
{
17
22
"description" : " numbers are unique if mathematically unequal" ,
18
23
"data" : [1.0 , 1.00 , 1 ],
28
33
"data" : [1 , true ],
29
34
"valid" : true
30
35
},
36
+ {
37
+ "description" : " unique array of strings is valid" ,
38
+ "data" : [" foo" , " bar" , " baz" ],
39
+ "valid" : true
40
+ },
41
+ {
42
+ "description" : " non-unique array of strings is invalid" ,
43
+ "data" : [" foo" , " bar" , " foo" ],
44
+ "valid" : false
45
+ },
31
46
{
32
47
"description" : " unique array of objects is valid" ,
33
48
"data" : [{"foo" : " bar" }, {"foo" : " baz" }],
64
79
"data" : [[" foo" ], [" foo" ]],
65
80
"valid" : false
66
81
},
82
+ {
83
+ "description" : " non-unique array of more than two arrays is invalid" ,
84
+ "data" : [[" foo" ], [" bar" ], [" foo" ]],
85
+ "valid" : false
86
+ },
67
87
{
68
88
"description" : " 1 and true are unique" ,
69
89
"data" : [1 , true ],
You can’t perform that action at this time.
0 commit comments