@@ -175,14 +175,14 @@ describe('Evaluate: ', () => {
175175 result . should . equal ( testData . a + testData . b )
176176 } )
177177
178- it ( 'should be read as separate from other tokens even if there are no spaces in between' , ( ) => {
178+ xit ( 'should be read as separate from other tokens even if there are no spaces in between' , ( ) => {
179179 const expression = 'a+b'
180180 const result = evaluate ( expression , testData )
181181
182182 result . should . equal ( testData . a + testData . b )
183183 } )
184184
185- it ( 'should identify signs in numbers' , ( ) => {
185+ xit ( 'should identify signs in numbers' , ( ) => {
186186 const expression = '- a + ( + b)'
187187 const result = evaluate ( expression , testData )
188188
@@ -216,7 +216,7 @@ describe('Evaluate: ', () => {
216216 result . should . equal ( testData . a )
217217 } )
218218
219- it ( 'should return same if an argument is null' , ( ) => {
219+ xit ( 'should return same if an argument is null' , ( ) => {
220220 const result = evaluate ( 'a + null' , testData )
221221
222222 result . should . equal ( testData . a )
@@ -246,7 +246,7 @@ describe('Evaluate: ', () => {
246246 result . should . equal ( testData . a - testData . b )
247247 } )
248248
249- it ( 'should be read as separate from other tokens even if there are no spaces in between' , ( ) => {
249+ xit ( 'should be read as separate from other tokens even if there are no spaces in between' , ( ) => {
250250 const expression = 'a-b'
251251 const result = evaluate ( expression , testData )
252252
@@ -266,7 +266,7 @@ describe('Evaluate: ', () => {
266266 result . should . equal ( testData . a )
267267 } )
268268
269- it ( 'should return 0 if an argument is null' , ( ) => {
269+ xit ( 'should return 0 if an argument is null' , ( ) => {
270270 const result = evaluate ( 'a - null' , testData )
271271
272272 result . should . equal ( testData . a )
@@ -296,12 +296,12 @@ describe('Evaluate: ', () => {
296296 result . should . equal ( testData . a * testData . b )
297297 } )
298298
299- it ( 'should be read as separate from other tokens even if there are no spaces in between' , ( ) => {
299+ xit ( 'should be read as separate from other tokens even if there are no spaces in between' , ( ) => {
300300 const result = evaluate ( 'a*b' , testData )
301301 result . should . equal ( testData . a * testData . b )
302302 } )
303303
304- it ( 'should identify signs' , ( ) => {
304+ xit ( 'should identify signs' , ( ) => {
305305 const result = evaluate ( 'a * (- b)' , testData )
306306 result . should . equal ( testData . a * ( - testData . b ) )
307307 } )
@@ -323,7 +323,7 @@ describe('Evaluate: ', () => {
323323 res . should . equal ( testData . b )
324324 } )
325325
326- it ( 'should return 0 if an argument is null' , ( ) => {
326+ xit ( 'should return 0 if an argument is null' , ( ) => {
327327 const result = evaluate ( 'a * null' , testData )
328328
329329 result . should . equal ( 0 )
@@ -341,7 +341,7 @@ describe('Evaluate: ', () => {
341341 result . should . be . NaN
342342 } )
343343
344- it ( 'should flip the sign of Infinity' , ( ) => {
344+ xit ( 'should flip the sign of Infinity' , ( ) => {
345345 const res = evaluate ( 'd * Infinity' , testData )
346346 res . should . equal ( - Infinity )
347347 // (-Infinity).should.equal(-1*Infinity)
@@ -359,7 +359,7 @@ describe('Evaluate: ', () => {
359359 res . should . equal ( testData . a / testData . b )
360360 } )
361361
362- it ( 'should be read as separate from other tokens even if there are no spaces in between' , ( ) => {
362+ xit ( 'should be read as separate from other tokens even if there are no spaces in between' , ( ) => {
363363 const result = evaluate ( 'a/b' , testData )
364364 result . should . equal ( testData . a * testData . b )
365365 } )
@@ -369,7 +369,7 @@ describe('Evaluate: ', () => {
369369 result . should . equal ( Infinity )
370370 } )
371371
372- it ( 'should identify sign in its arguments' , ( ) => {
372+ xit ( 'should identify sign in its arguments' , ( ) => {
373373 const result = evaluate ( '- a / b' , testData )
374374 result . should . equal ( - testData . a / testData . b )
375375 } )
@@ -379,7 +379,7 @@ describe('Evaluate: ', () => {
379379 result . should . equal ( testData . a + testData . b / testData . c - testData . d * testData . b )
380380 } )
381381
382- it ( 'should return 0 when dividing by Infinity' , ( ) => {
382+ xit ( 'should return 0 when dividing by Infinity' , ( ) => {
383383 const result = evaluate ( 'a / Infinity' , testData )
384384 result . should . equal ( 0 )
385385 } )
@@ -394,7 +394,7 @@ describe('Evaluate: ', () => {
394394 isNaN ( result ) . should . equal ( true )
395395 } )
396396
397- it ( 'should return Infinity if an argument is null' , ( ) => {
397+ xit ( 'should return Infinity if an argument is null' , ( ) => {
398398 const result = evaluate ( 'a / null' , testData )
399399
400400 result . should . equal ( 0 )
@@ -414,12 +414,12 @@ describe('Evaluate: ', () => {
414414 } )
415415
416416 describe ( '== operator' , ( ) => {
417- it ( 'should compare NaNs' , ( ) => {
417+ xit ( 'should compare NaNs' , ( ) => {
418418 const res = evaluate ( 'NaN == NaN' , testData )
419419 res . should . equal ( false )
420420 } )
421421
422- it ( 'should compare Infinities' , ( ) => {
422+ xit ( 'should compare Infinities' , ( ) => {
423423 const res = evaluate ( 'Infinity == Infinity' , testData )
424424 res . should . equal ( true )
425425 } )
@@ -439,19 +439,19 @@ describe('Evaluate: ', () => {
439439 res . should . equal ( false )
440440 } )
441441
442- it ( 'should compare boolean and number' , ( ) => {
442+ xit ( 'should compare boolean and number' , ( ) => {
443443 const res = evaluate ( 'zero == f' , testData )
444444 res . should . equal ( true )
445445 } )
446446 } )
447447
448448 describe ( '!= operator' , ( ) => {
449- it ( 'should compare NaNs' , ( ) => {
449+ xit ( 'should compare NaNs' , ( ) => {
450450 const res = evaluate ( 'NaN != NaN' , testData )
451451 res . should . equal ( true )
452452 } )
453453
454- it ( 'should compare Infinities' , ( ) => {
454+ xit ( 'should compare Infinities' , ( ) => {
455455 const res = evaluate ( 'Infinity != Infinity' , testData )
456456 res . should . equal ( false )
457457 } )
@@ -471,7 +471,7 @@ describe('Evaluate: ', () => {
471471 res . should . equal ( true )
472472 } )
473473
474- it ( 'should compare boolean and number' , ( ) => {
474+ xit ( 'should compare boolean and number' , ( ) => {
475475 const res = evaluate ( 'zero != f' , testData )
476476 res . should . equal ( false )
477477 } )
@@ -527,12 +527,12 @@ describe('Evaluate: ', () => {
527527 res . should . equal ( 4 + 2 )
528528 } )
529529
530- it ( 'should parse literal constants like numbers' , ( ) => {
530+ xit ( 'should parse literal constants like numbers with decimal numbers' , ( ) => {
531531 const res = evaluate ( '4.2 + 2.3' , testData )
532532 res . should . equal ( 4.2 + 2.3 )
533533 } )
534534
535- it ( 'should parse literal constants like booleans' , ( ) => {
535+ xit ( 'should parse literal constants like booleans' , ( ) => {
536536 const res = evaluate ( 'true && true' , testData )
537537 res . should . equal ( true )
538538 } )
@@ -549,12 +549,12 @@ describe('Evaluate: ', () => {
549549 res . should . equal ( true )
550550 } )
551551
552- it ( '!undefined => true' , ( ) => {
552+ xit ( '!undefined => true' , ( ) => {
553553 const res = evaluate ( '!undefined' , testData )
554554 res . should . equal ( true )
555555 } )
556556
557- it ( '!null => true' , ( ) => {
557+ xit ( '!null => true' , ( ) => {
558558 const res = evaluate ( '! null' , testData )
559559 res . should . equal ( true )
560560 } )
@@ -614,7 +614,7 @@ describe('Evaluate: ', () => {
614614 res . should . equal ( undefined < 1 )
615615 } )
616616
617- it ( 'should compare null' , ( ) => {
617+ xit ( 'should compare null' , ( ) => {
618618 const res = evaluate ( "null < 1" , testData )
619619 res . should . equal ( null < 1 )
620620 } )
0 commit comments