File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -102,6 +102,15 @@ tape( 'project contains a distributable file containing Spam Assassin (minified)
102102 t . end ( ) ;
103103} ) ;
104104
105+ tape ( 'project contains a distributable file containing Suthaharan\'s multi-hop sensor network data (minified)' , function test ( t ) {
106+ // eslint-disable-next-line stdlib/no-dynamic-require
107+ var bundle = require ( join ( dirpath , 'stdlib-datasets-suthaharan-multi-hop-sensor-network.min.js' ) ) ;
108+ t . equal ( typeof bundle , 'object' , 'main export is an object' ) ;
109+ t . equal ( typeof bundle . SUTHAHARAN_MULTI_HOP_SENSOR_NETWORK , 'function' , 'is a function' ) ;
110+ t . equal ( typeof bundle . SUTHAHARAN_MULTI_HOP_SENSOR_NETWORK ( ) , 'object' , 'returns expected value' ) ; // eslint-disable-line new-cap
111+ t . end ( ) ;
112+ } ) ;
113+
105114tape ( 'project contains a distributable file containing Suthaharan\'s single-hop sensor network data (minified)' , function test ( t ) {
106115 // eslint-disable-next-line stdlib/no-dynamic-require
107116 var bundle = require ( join ( dirpath , 'stdlib-datasets-suthaharan-single-hop-sensor-network.min.js' ) ) ;
You can’t perform that action at this time.
0 commit comments