Skip to content

Commit 0aa4958

Browse files
committed
test: update transform case descriptions
1 parent 2a7738e commit 0aa4958

File tree

1 file changed

+21
-21
lines changed

1 file changed

+21
-21
lines changed

test/jasmine/tests/transform_filter_test.js

+21-21
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ describe('filter transforms calc:', function() {
164164
expect(out[0].marker.size).toEqual(20, '- marker.size style');
165165
}
166166

167-
it('+ *within*', function() {
167+
it('with operation *[]*', function() {
168168
var out = _transform([Lib.extendDeep({}, _base, {
169169
transforms: [{
170170
operation: '[]',
@@ -180,7 +180,7 @@ describe('filter transforms calc:', function() {
180180
);
181181
});
182182

183-
it('+ *within* + with RHS open', function() {
183+
it('with operation *[)*', function() {
184184
var out = _transform([Lib.extendDeep({}, _base, {
185185
transforms: [{
186186
operation: '[)',
@@ -192,7 +192,7 @@ describe('filter transforms calc:', function() {
192192
_assert(out, [-1, 0], [2, 1], [0.2, 0.1]);
193193
});
194194

195-
it('+ *within* + with LHS open', function() {
195+
it('with operation *(]*', function() {
196196
var out = _transform([Lib.extendDeep({}, _base, {
197197
transforms: [{
198198
operation: '(]',
@@ -204,7 +204,7 @@ describe('filter transforms calc:', function() {
204204
_assert(out, [0, 1], [1, 2], [0.1, 0.2]);
205205
});
206206

207-
it('+ *within* + with both sides open', function() {
207+
it('with operation *()*', function() {
208208
var out = _transform([Lib.extendDeep({}, _base, {
209209
transforms: [{
210210
operation: '()',
@@ -216,7 +216,7 @@ describe('filter transforms calc:', function() {
216216
_assert(out, [0], [1], [0.1]);
217217
});
218218

219-
it('+ *notwithin*', function() {
219+
it('with operation *)(*', function() {
220220
var out = _transform([Lib.extendDeep({}, _base, {
221221
transforms: [{
222222
operation: ')(',
@@ -232,7 +232,7 @@ describe('filter transforms calc:', function() {
232232
);
233233
});
234234

235-
it('+ *notwithin* with RHS closed', function() {
235+
it('with operation *)[*', function() {
236236
var out = _transform([Lib.extendDeep({}, _base, {
237237
transforms: [{
238238
operation: ')[',
@@ -248,7 +248,7 @@ describe('filter transforms calc:', function() {
248248
);
249249
});
250250

251-
it('+ *notwithin* with LHS closed', function() {
251+
it('with operation *](*', function() {
252252
var out = _transform([Lib.extendDeep({}, _base, {
253253
transforms: [{
254254
operation: '](',
@@ -264,7 +264,7 @@ describe('filter transforms calc:', function() {
264264
);
265265
});
266266

267-
it('+ *notwithin* with both sides closed', function() {
267+
it('with operation *][*', function() {
268268
var out = _transform([Lib.extendDeep({}, _base, {
269269
transforms: [{
270270
operation: '][',
@@ -280,7 +280,7 @@ describe('filter transforms calc:', function() {
280280
);
281281
});
282282

283-
it('+ *in*', function() {
283+
it('with operation *{}*', function() {
284284
var out = _transform([Lib.extendDeep({}, _base, {
285285
transforms: [{
286286
operation: '{}',
@@ -296,7 +296,7 @@ describe('filter transforms calc:', function() {
296296
);
297297
});
298298

299-
it('+ *notin*', function() {
299+
it('with operation *}{*', function() {
300300
var out = _transform([Lib.extendDeep({}, _base, {
301301
transforms: [{
302302
operation: '}{',
@@ -347,7 +347,7 @@ describe('filter transforms calc:', function() {
347347
expect(out[0].marker.color).toEqual('red', '- marker.color style');
348348
}
349349

350-
it('+ *within*', function() {
350+
it('with operation *()*', function() {
351351
var out = _transform([Lib.extendDeep({}, _base, {
352352
transforms: [{
353353
operation: '()',
@@ -359,7 +359,7 @@ describe('filter transforms calc:', function() {
359359
_assert(out, ['b'], [2], ['1']);
360360
});
361361

362-
it('+ *notwithin*', function() {
362+
it('with operation *)(*', function() {
363363
var out = _transform([Lib.extendDeep({}, _base, {
364364
transforms: [{
365365
operation: ')(',
@@ -371,7 +371,7 @@ describe('filter transforms calc:', function() {
371371
_assert(out, ['d'], [4], ['0']);
372372
});
373373

374-
it('filters should handle categories + *in*', function() {
374+
it('with operation *{}*', function() {
375375
var out = _transform([Lib.extendDeep({}, _base, {
376376
transforms: [{
377377
operation: '{}',
@@ -383,7 +383,7 @@ describe('filter transforms calc:', function() {
383383
_assert(out, ['b', 'd'], [2, 4], ['1', '0']);
384384
});
385385

386-
it('filters should handle categories + *notin*', function() {
386+
it('with operation *}{*', function() {
387387
var out = _transform([Lib.extendDeep({}, _base, {
388388
transforms: [{
389389
operation: '}{',
@@ -417,7 +417,7 @@ describe('filter transforms calc:', function() {
417417
expect(out[0].marker.line.width).toEqual(2.5, '- marker.line.width style');
418418
}
419419

420-
it('+ *=*', function() {
420+
it('with operation *=*', function() {
421421
var out = _transform([Lib.extendDeep({}, _base, {
422422
transforms: [{
423423
operation: '=',
@@ -429,7 +429,7 @@ describe('filter transforms calc:', function() {
429429
_assert(out, ['2015-07-20'], [1], [0.1]);
430430
});
431431

432-
it('+ *<*', function() {
432+
it('with operation *<*', function() {
433433
var out = _transform([Lib.extendDeep({}, _base, {
434434
transforms: [{
435435
operation: '<',
@@ -441,7 +441,7 @@ describe('filter transforms calc:', function() {
441441
_assert(out, ['2015-07-20'], [1], [0.1]);
442442
});
443443

444-
it('+ *>*', function() {
444+
it('with operation *>*', function() {
445445
var out = _transform([Lib.extendDeep({}, _base, {
446446
transforms: [{
447447
operation: '>=',
@@ -457,7 +457,7 @@ describe('filter transforms calc:', function() {
457457
);
458458
});
459459

460-
it('+ *within*', function() {
460+
it('with operation *[]*', function() {
461461
var out = _transform([Lib.extendDeep({}, _base, {
462462
transforms: [{
463463
operation: '[]',
@@ -469,7 +469,7 @@ describe('filter transforms calc:', function() {
469469
_assert(out, ['2016-08-01', '2016-09-01'], [2, 3], [0.2, 0.3]);
470470
});
471471

472-
it('+ *notwithin*', function() {
472+
it('with operation *)(*', function() {
473473
var out = _transform([Lib.extendDeep({}, _base, {
474474
transforms: [{
475475
operation: ')(',
@@ -481,7 +481,7 @@ describe('filter transforms calc:', function() {
481481
_assert(out, ['2015-07-20', '2016-10-21', '2016-12-02'], [1, 1, 5], [0.1, 0.1, 0.2]);
482482
});
483483

484-
it('+ *in*', function() {
484+
it('with operation *{}*', function() {
485485
var out = _transform([Lib.extendDeep({}, _base, {
486486
transforms: [{
487487
operation: '{}',
@@ -493,7 +493,7 @@ describe('filter transforms calc:', function() {
493493
_assert(out, ['2015-07-20'], [1], [0.1]);
494494
});
495495

496-
it('+ *notin*', function() {
496+
it('with operation *}{*', function() {
497497
var out = _transform([Lib.extendDeep({}, _base, {
498498
transforms: [{
499499
operation: '}{',

0 commit comments

Comments
 (0)