File tree 6 files changed +144
-0
lines changed
6 files changed +144
-0
lines changed Original file line number Diff line number Diff line change 184
184
"rule" : { ">" : [0 , false ] },
185
185
"data" : {},
186
186
"result" : false
187
+ },
188
+ {
189
+ "description" : " > with [] and [1]" ,
190
+ "rule" : { ">" : [[], [1 ]] },
191
+ "data" : {},
192
+ "error" : { "type" : " NaN" }
193
+ },
194
+ {
195
+ "description" : " > with [1] and 5" ,
196
+ "rule" : { ">" : [[1 ], 5 ] },
197
+ "data" : {},
198
+ "error" : { "type" : " NaN" }
199
+ },
200
+ {
201
+ "description" : " > with {} and 1" ,
202
+ "rule" : { ">" : [{}, 1 ] },
203
+ "data" : {},
204
+ "error" : { "type" : " NaN" }
205
+ },
206
+ {
207
+ "description" : " > with 1 and {}" ,
208
+ "rule" : { ">" : [1 , {}] },
209
+ "data" : {},
210
+ "error" : { "type" : " NaN" }
187
211
}
188
212
]
Original file line number Diff line number Diff line change 142
142
"rule" : { ">=" : [0 , false ] },
143
143
"data" : {},
144
144
"result" : true
145
+ },
146
+ {
147
+ "description" : " >= with [] and [1]" ,
148
+ "rule" : { ">=" : [[], [1 ]] },
149
+ "data" : {},
150
+ "error" : { "type" : " NaN" }
151
+ },
152
+ {
153
+ "description" : " >= with [1] and 5" ,
154
+ "rule" : { ">=" : [[1 ], 5 ] },
155
+ "data" : {},
156
+ "error" : { "type" : " NaN" }
157
+ },
158
+ {
159
+ "description" : " >= with {} and 1" ,
160
+ "rule" : { ">=" : [{}, 1 ] },
161
+ "data" : {},
162
+ "error" : { "type" : " NaN" }
163
+ },
164
+ {
165
+ "description" : " >= with 1 and {}" ,
166
+ "rule" : { ">=" : [1 , {}] },
167
+ "data" : {},
168
+ "error" : { "type" : " NaN" }
145
169
}
146
170
]
Original file line number Diff line number Diff line change 244
244
"rule" : { "<" : [0 , false ] },
245
245
"data" : {},
246
246
"result" : false
247
+ },
248
+ {
249
+ "description" : " < with [] and [1]" ,
250
+ "rule" : { "<" : [[], [1 ]] },
251
+ "data" : {},
252
+ "error" : { "type" : " NaN" }
253
+ },
254
+ {
255
+ "description" : " < with [1] and 5" ,
256
+ "rule" : { "<" : [[1 ], 5 ] },
257
+ "data" : {},
258
+ "error" : { "type" : " NaN" }
259
+ },
260
+ {
261
+ "description" : " < with {} and 1" ,
262
+ "rule" : { "<" : [{}, 1 ] },
263
+ "data" : {},
264
+ "error" : { "type" : " NaN" }
265
+ },
266
+ {
267
+ "description" : " < with 1 and {}" ,
268
+ "rule" : { "<" : [1 , {}] },
269
+ "data" : {},
270
+ "error" : { "type" : " NaN" }
247
271
}
248
272
]
Original file line number Diff line number Diff line change 94
94
"rule" : { "<=" : [0 , false ] },
95
95
"data" : {},
96
96
"result" : true
97
+ },
98
+ {
99
+ "description" : " <= with [] and [1]" ,
100
+ "rule" : { "<=" : [[], [1 ]] },
101
+ "data" : {},
102
+ "error" : { "type" : " NaN" }
103
+ },
104
+ {
105
+ "description" : " <= with [1] and 5" ,
106
+ "rule" : { "<=" : [[1 ], 5 ] },
107
+ "data" : {},
108
+ "error" : { "type" : " NaN" }
109
+ },
110
+ {
111
+ "description" : " <= with {} and 1" ,
112
+ "rule" : { "<=" : [{}, 1 ] },
113
+ "data" : {},
114
+ "error" : { "type" : " NaN" }
115
+ },
116
+ {
117
+ "description" : " <= with 1 and {}" ,
118
+ "rule" : { "<=" : [1 , {}] },
119
+ "data" : {},
120
+ "error" : { "type" : " NaN" }
97
121
}
98
122
]
Original file line number Diff line number Diff line change 184
184
"rule" : { "==" : [0 , false ] },
185
185
"data" : {},
186
186
"result" : true
187
+ },
188
+ {
189
+ "description" : " == with [] and [1]" ,
190
+ "rule" : { "==" : [[], [1 ]] },
191
+ "data" : {},
192
+ "error" : { "type" : " NaN" }
193
+ },
194
+ {
195
+ "description" : " == with [1] and 5" ,
196
+ "rule" : { "==" : [[1 ], 5 ] },
197
+ "data" : {},
198
+ "error" : { "type" : " NaN" }
199
+ },
200
+ {
201
+ "description" : " == with {} and 1" ,
202
+ "rule" : { "==" : [{}, 1 ] },
203
+ "data" : {},
204
+ "error" : { "type" : " NaN" }
205
+ },
206
+ {
207
+ "description" : " == with 1 and {}" ,
208
+ "rule" : { "==" : [1 , {}] },
209
+ "data" : {},
210
+ "error" : { "type" : " NaN" }
187
211
}
188
212
]
Original file line number Diff line number Diff line change 178
178
"rule" : { "!=" : [0 , false ] },
179
179
"data" : {},
180
180
"result" : false
181
+ },
182
+ {
183
+ "description" : " != with [] and [1]" ,
184
+ "rule" : { "!=" : [[], [1 ]] },
185
+ "data" : {},
186
+ "error" : { "type" : " NaN" }
187
+ },
188
+ {
189
+ "description" : " != with [1] and 5" ,
190
+ "rule" : { "!=" : [[1 ], 5 ] },
191
+ "data" : {},
192
+ "error" : { "type" : " NaN" }
193
+ },
194
+ {
195
+ "description" : " != with {} and 1" ,
196
+ "rule" : { "!=" : [{}, 1 ] },
197
+ "data" : {},
198
+ "error" : { "type" : " NaN" }
199
+ },
200
+ {
201
+ "description" : " != with 1 and {}" ,
202
+ "rule" : { "!=" : [1 , {}] },
203
+ "data" : {},
204
+ "error" : { "type" : " NaN" }
181
205
}
182
206
]
You can’t perform that action at this time.
0 commit comments