@@ -29,6 +29,7 @@ var Complex64 = require( '@stdlib/complex/float32/ctor' );
29
29
var Complex128 = require ( '@stdlib/complex/float64/ctor' ) ;
30
30
var Complex64Array = require ( '@stdlib/array/complex64' ) ;
31
31
var Complex128Array = require ( '@stdlib/array/complex128' ) ;
32
+ var BooleanArray = require ( '@stdlib/array/bool' ) ;
32
33
var compareValues = require ( './../lib' ) ;
33
34
34
35
@@ -315,6 +316,15 @@ tape( 'the function compares a typed array and a corresponding return annotation
315
316
msg = 'Expected array entries [1,1,2,2], but observed [1,-1,2,-2]' ;
316
317
t . strictEqual ( compareValues ( actual , expected ) , msg , 'returns expected message' ) ;
317
318
319
+ actual = new BooleanArray ( [ true , false , true , false ] ) ;
320
+ expected = '<BooleanArray>[ true, false, true, false ]' ;
321
+ t . strictEqual ( compareValues ( actual , expected ) , null , 'returns null' ) ;
322
+
323
+ actual = new BooleanArray ( [ true , false , true , false ] ) ;
324
+ expected = '<BooleanArray>[ true, true, true, true ]' ;
325
+ msg = 'Expected array entries [true,true,true,true], but observed [true,false,true,false]' ;
326
+ t . strictEqual ( compareValues ( actual , expected ) , msg , 'returns expected message' ) ;
327
+
318
328
t . end ( ) ;
319
329
} ) ;
320
330
0 commit comments