@@ -26,7 +26,7 @@ var IS_BROWSER = require( '@stdlib/assert/is-browser' );
26
26
var dtypes2signatures = require ( '@stdlib/ndarray/base/dtypes2signatures' ) ;
27
27
var hasProp = require ( '@stdlib/assert/has-property' ) ;
28
28
var types = require ( './../lib/types.json' ) ;
29
- var meta = require ( './../lib/meta.json ' ) ;
29
+ var config = require ( './../lib/config.js ' ) ;
30
30
var fcn = require ( './../lib' ) ;
31
31
32
32
@@ -81,47 +81,47 @@ tape( 'if a native implementation is not available, the main export is a JavaScr
81
81
} ) ;
82
82
83
83
tape ( 'attached to the main export is a property for retrieving the number of input and output arrays' , function test ( t ) {
84
- t . strictEqual ( fcn . nargs , meta . nargs , 'returns expected value' ) ;
84
+ t . strictEqual ( fcn . nargs , config . nargs , 'returns expected value' ) ;
85
85
t . end ( ) ;
86
86
} ) ;
87
87
88
88
tape ( 'attached to the main export is a property for retrieving the number of input arrays' , function test ( t ) {
89
- t . strictEqual ( fcn . nin , meta . nin , 'returns expected value' ) ;
89
+ t . strictEqual ( fcn . nin , config . nin , 'returns expected value' ) ;
90
90
t . end ( ) ;
91
91
} ) ;
92
92
93
93
tape ( 'attached to the main export is a property for retrieving the number of output arrays' , function test ( t ) {
94
- t . strictEqual ( fcn . nout , meta . nout , 'returns expected value' ) ;
94
+ t . strictEqual ( fcn . nout , config . nout , 'returns expected value' ) ;
95
95
t . end ( ) ;
96
96
} ) ;
97
97
98
98
tape ( 'attached to the main export is a property for retrieving the list of supported array data types' , function test ( t ) {
99
- t . deepEqual ( fcn . types , dtypes2signatures ( types , meta . nin , meta . nout ) , 'returns expected value' ) ;
99
+ t . deepEqual ( fcn . types , dtypes2signatures ( types , config . nin , config . nout ) , 'returns expected value' ) ;
100
100
t . end ( ) ;
101
101
} ) ;
102
102
103
103
tape ( 'attached to the main export is an `assign` method for assigning results to a provided output array' , function test ( t ) {
104
- t . strictEqual ( hasProp ( fcn , 'assign' ) , true , 'has property ' ) ;
105
- t . strictEqual ( typeof fcn . assign , 'function' , 'has method ' ) ;
104
+ t . strictEqual ( hasProp ( fcn , 'assign' ) , true , 'returns expected value ' ) ;
105
+ t . strictEqual ( typeof fcn . assign , 'function' , 'returns expected value ' ) ;
106
106
t . end ( ) ;
107
107
} ) ;
108
108
109
109
tape ( 'attached to the `assign` method is a property for retrieving the number of input and output arrays' , function test ( t ) {
110
- t . strictEqual ( fcn . assign . nargs , meta . nargs , 'returns expected value' ) ;
110
+ t . strictEqual ( fcn . assign . nargs , config . nargs , 'returns expected value' ) ;
111
111
t . end ( ) ;
112
112
} ) ;
113
113
114
114
tape ( 'attached to the `assign` method is a property for retrieving the number of input arrays' , function test ( t ) {
115
- t . strictEqual ( fcn . assign . nin , meta . nin , 'returns expected value' ) ;
115
+ t . strictEqual ( fcn . assign . nin , config . nin , 'returns expected value' ) ;
116
116
t . end ( ) ;
117
117
} ) ;
118
118
119
119
tape ( 'attached to the `assign` method is a property for retrieving the number of output arrays' , function test ( t ) {
120
- t . strictEqual ( fcn . assign . nout , meta . nout , 'returns expected value' ) ;
120
+ t . strictEqual ( fcn . assign . nout , config . nout , 'returns expected value' ) ;
121
121
t . end ( ) ;
122
122
} ) ;
123
123
124
124
tape ( 'attached to the `assign` method is a property for retrieving the list of supported array data types' , function test ( t ) {
125
- t . deepEqual ( fcn . assign . types , dtypes2signatures ( types , meta . nin , meta . nout ) , 'returns expected value' ) ;
125
+ t . deepEqual ( fcn . assign . types , dtypes2signatures ( types , config . nin , config . nout ) , 'returns expected value' ) ;
126
126
t . end ( ) ;
127
127
} ) ;
0 commit comments