Skip to content

Commit 661748f

Browse files
committed
test: remove type conversion
--- 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: na - task: lint_typescript_tests status: na - task: lint_license_headers status: passed ---
1 parent f9acf9f commit 661748f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

lib/node_modules/@stdlib/math/base/special/minmaxf/test/test.assign.js

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -157,16 +157,16 @@ tape( 'the function supports providing an output object (array)', function test(
157157
var v;
158158

159159
out = [ 0.0, 0.0 ];
160-
v = minmaxf( float64ToFloat32( 4.2 ), float64ToFloat32( 3.14 ), out, 1, 0 );
160+
v = minmaxf( 4.2, 3.14, out, 1, 0 );
161161
t.strictEqual( v, out, 'returns output array' );
162-
t.strictEqual( v[ 0 ], float64ToFloat32( 3.14 ), 'returns expected value' );
163-
t.strictEqual( v[ 1 ], float64ToFloat32( 4.2 ), 'returns expected value' );
162+
t.strictEqual( v[ 0 ], 3.14, 'returns expected value' );
163+
t.strictEqual( v[ 1 ], 4.2, 'returns expected value' );
164164

165165
out = [ 0.0, 0.0 ];
166-
v = minmaxf( -float64ToFloat32( 4.2 ), float64ToFloat32( 3.14 ), out, 1, 0 );
166+
v = minmaxf( -4.2, 3.14, out, 1, 0 );
167167
t.strictEqual( v, out, 'returns output array' );
168-
t.strictEqual( v[ 0 ], -float64ToFloat32( 4.2 ), 'returns expected value' );
169-
t.strictEqual( v[ 1 ], float64ToFloat32( 3.14 ), 'returns expected value' );
168+
t.strictEqual( v[ 0 ], -4.2, 'returns expected value' );
169+
t.strictEqual( v[ 1 ], 3.14, 'returns expected value' );
170170

171171
t.end();
172172
});

0 commit comments

Comments
 (0)