Skip to content

Commit 9bd71d7

Browse files
committed
test: add tests to ensure full test coverage
--- 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 de110c6 commit 9bd71d7

File tree

1 file changed

+12
-4
lines changed
  • lib/node_modules/@stdlib/ndarray/base/binary-input-casting-dtype/test

1 file changed

+12
-4
lines changed

lib/node_modules/@stdlib/ndarray/base/binary-input-casting-dtype/test/test.js

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,9 @@ tape( 'the function resolves a casting data type (policy=accumulation)', functio
238238
'float64',
239239
'int16',
240240
'generic',
241-
'complex64'
241+
'complex64',
242+
'uint16',
243+
'bool'
242244
];
243245
dt2 = [
244246
'float16',
@@ -247,7 +249,9 @@ tape( 'the function resolves a casting data type (policy=accumulation)', functio
247249
'float64',
248250
'int32',
249251
'float32',
250-
'float32'
252+
'float32',
253+
'uint8',
254+
'bool'
251255
];
252256
dt3 = [
253257
'int8',
@@ -256,7 +260,9 @@ tape( 'the function resolves a casting data type (policy=accumulation)', functio
256260
'int16',
257261
'int32',
258262
'int32',
259-
'int16'
263+
'int16',
264+
'uint32',
265+
'bool'
260266
];
261267
expected = [
262268
'float16',
@@ -265,7 +271,9 @@ tape( 'the function resolves a casting data type (policy=accumulation)', functio
265271
'float64',
266272
'int32',
267273
'generic',
268-
'complex64'
274+
'complex64',
275+
'uint32',
276+
'float64'
269277
];
270278

271279
for ( i = 0; i < dt1.length; i++ ) {

0 commit comments

Comments
 (0)