Skip to content

Commit 07e7959

Browse files
committed
fix: updated the namespace for each test case
--- type: pre_commit_static_analysis_report description: Results of running static analysis checks when committing changes. report: - task: lint_filenames status: passed - task: lint_editorconfig status: passed - task: lint_markdown status: na - task: lint_package_json status: na - task: lint_repl_help status: na - task: lint_javascript_src status: na - task: lint_javascript_cli status: na - task: lint_javascript_examples status: na - task: lint_javascript_tests status: passed - task: lint_javascript_benchmarks status: na - task: lint_python status: na - task: lint_r status: na - task: lint_c_src status: na - task: lint_c_examples status: na - task: lint_c_benchmarks status: na - task: lint_c_tests_fixtures status: na - task: lint_shell status: na - task: lint_typescript_declarations status: passed - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent ea86344 commit 07e7959

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

lib/node_modules/@stdlib/math/base/special/cos/test/test.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ tape( 'the function computes the cosine (medium negative values)', function test
5757

5858
for ( i = 0; i < x.length; i++ ) {
5959
y = cos( x[ i ] );
60-
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i] );
60+
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'returns expected value' );
6161
}
6262

6363
t.end();
@@ -74,7 +74,7 @@ tape( 'the function computes the cosine (positive medium values)', function test
7474

7575
for ( i = 0; i < x.length; i++ ) {
7676
y = cos( x[ i ] );
77-
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i] );
77+
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'returns expected value' );
7878
}
7979

8080
t.end();
@@ -91,7 +91,7 @@ tape( 'the function computes the cosine (large negative values)', function test(
9191

9292
for ( i = 0; i < x.length; i++ ) {
9393
y = cos( x[ i ] );
94-
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i] );
94+
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'returns expected value' );
9595
}
9696

9797
t.end();
@@ -108,7 +108,7 @@ tape( 'the function computes the cosine (large positive values)', function test(
108108

109109
for ( i = 0; i < x.length; i++ ) {
110110
y = cos( x[ i ] );
111-
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i] );
111+
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'returns expected value' );
112112
}
113113

114114
t.end();
@@ -125,7 +125,7 @@ tape( 'the function computes the cosine (huge negative values)', function test(
125125

126126
for ( i = 0; i < x.length; i++ ) {
127127
y = cos( x[ i ] );
128-
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i] );
128+
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'returns expected value' );
129129
}
130130

131131
t.end();
@@ -142,7 +142,7 @@ tape( 'the function computes the cosine (huge positive values)', function test(
142142

143143
for ( i = 0; i < x.length; i++ ) {
144144
y = cos( x[ i ] );
145-
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i] );
145+
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'returns expected value' );
146146
}
147147

148148
t.end();

lib/node_modules/@stdlib/math/base/special/cos/test/test.native.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ tape( 'the function computes the cosine (medium negative values)', opts, functio
6666

6767
for ( i = 0; i < x.length; i++ ) {
6868
y = cos( x[ i ] );
69-
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i] );
69+
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'returns expected value' );
7070
}
7171

7272
t.end();
@@ -83,7 +83,7 @@ tape( 'the function computes the cosine (positive medium values)', opts, functio
8383

8484
for ( i = 0; i < x.length; i++ ) {
8585
y = cos( x[ i ] );
86-
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i] );
86+
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'returns expected value' );
8787
}
8888

8989
t.end();
@@ -100,7 +100,7 @@ tape( 'the function computes the cosine (large negative values)', opts, function
100100

101101
for ( i = 0; i < x.length; i++ ) {
102102
y = cos( x[ i ] );
103-
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i] );
103+
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'returns expected value' );
104104
}
105105

106106
t.end();
@@ -117,7 +117,7 @@ tape( 'the function computes the cosine (large positive values)', opts, function
117117

118118
for ( i = 0; i < x.length; i++ ) {
119119
y = cos( x[ i ] );
120-
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i] );
120+
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'returns expected value' );
121121
}
122122

123123
t.end();
@@ -134,7 +134,7 @@ tape( 'the function computes the cosine (huge negative values)', opts, function
134134

135135
for ( i = 0; i < x.length; i++ ) {
136136
y = cos( x[ i ] );
137-
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i] );
137+
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'returns expected value' );
138138
}
139139
t.end();
140140
});
@@ -150,7 +150,7 @@ tape( 'the function computes the cosine (huge positive values)', opts, function
150150

151151
for ( i = 0; i < x.length; i++ ) {
152152
y = cos( x[ i ] );
153-
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'within tolerance. x: '+x[i]+'. y: '+y+'. E: '+expected[i] );
153+
t.strictEqual( isAlmostSameValue( y, expected[ i ], 1 ), true, 'returns expected value' );
154154
}
155155

156156
t.end();

0 commit comments

Comments
 (0)