Skip to content

Commit 86d02e2

Browse files
committed
test: add comments to explain test value distinction
1 parent d0eb2cf commit 86d02e2

File tree

8 files changed

+16
-0
lines changed
  • lib/node_modules/@stdlib/ndarray/base/assert
    • is-complex-floating-point-data-type/test
    • is-floating-point-data-type/test
    • is-integral-data-type/test
    • is-numeric-data-type/test
    • is-real-data-type/test
    • is-real-floating-point-data-type/test
    • is-signed-integer-data-type/test
    • is-unsigned-integer-data-type/test

8 files changed

+16
-0
lines changed

lib/node_modules/@stdlib/ndarray/base/assert/is-complex-floating-point-data-type/test/test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ tape( 'the function returns `false` if not provided a supported ndarray complex-
5454
var i;
5555

5656
values = [
57+
// Supported dtypes:
5758
'float32',
5859
'float64',
5960
'binary',
@@ -66,6 +67,7 @@ tape( 'the function returns `false` if not provided a supported ndarray complex-
6667
'int8',
6768
'generic',
6869

70+
// Unsupported dtypes:
6971
'float',
7072
'int',
7173
'bin',

lib/node_modules/@stdlib/ndarray/base/assert/is-floating-point-data-type/test/test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ tape( 'the function returns `false` if not provided a supported ndarray floating
5656
var i;
5757

5858
values = [
59+
// Supported types:
5960
'binary',
6061
'uint16',
6162
'uint32',
@@ -66,6 +67,7 @@ tape( 'the function returns `false` if not provided a supported ndarray floating
6667
'int8',
6768
'generic',
6869

70+
// Unsupported dtypes:
6971
'float',
7072
'int',
7173
'bin',

lib/node_modules/@stdlib/ndarray/base/assert/is-integral-data-type/test/test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,13 +59,15 @@ tape( 'the function returns `false` if not provided a supported ndarray integral
5959
var i;
6060

6161
values = [
62+
// Supported dtypes:
6263
'binary',
6364
'complex64',
6465
'complex128',
6566
'float32',
6667
'float64',
6768
'generic',
6869

70+
// Unsupported dtypes:
6971
'float',
7072
'int',
7173
'bin',

lib/node_modules/@stdlib/ndarray/base/assert/is-numeric-data-type/test/test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,11 @@ tape( 'the function returns `false` if not provided a supported ndarray numeric
6363
var i;
6464

6565
values = [
66+
// Supported dtypes:
6667
'binary',
6768
'generic',
6869

70+
// Unsupported dtypes:
6971
'float',
7072
'int',
7173
'bin',

lib/node_modules/@stdlib/ndarray/base/assert/is-real-data-type/test/test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,13 @@ tape( 'the function returns `false` if not provided a supported ndarray real-val
6161
var i;
6262

6363
values = [
64+
// Supported dtypes:
6465
'binary',
6566
'generic',
6667
'complex128',
6768
'complex64',
6869

70+
// Unsupported dtypes:
6971
'float',
7072
'int',
7173
'bin',

lib/node_modules/@stdlib/ndarray/base/assert/is-real-floating-point-data-type/test/test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ tape( 'the function returns `false` if not provided a supported ndarray real-val
5454
var i;
5555

5656
values = [
57+
// Supported dtypes:
5758
'complex64',
5859
'complex128',
5960
'binary',
@@ -66,6 +67,7 @@ tape( 'the function returns `false` if not provided a supported ndarray real-val
6667
'int8',
6768
'generic',
6869

70+
// Unsupported dtypes:
6971
'float',
7072
'int',
7173
'bin',

lib/node_modules/@stdlib/ndarray/base/assert/is-signed-integer-data-type/test/test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ tape( 'the function returns `false` if not provided a supported ndarray signed i
5555
var i;
5656

5757
values = [
58+
// Supported dtypes:
5859
'binary',
5960
'complex64',
6061
'complex128',
@@ -66,6 +67,7 @@ tape( 'the function returns `false` if not provided a supported ndarray signed i
6667
'uint8',
6768
'uint8c',
6869

70+
// Unsupported dtypes:
6971
'float',
7072
'int',
7173
'bin',

lib/node_modules/@stdlib/ndarray/base/assert/is-unsigned-integer-data-type/test/test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ tape( 'the function returns `false` if not provided a supported ndarray unsigned
5656
var i;
5757

5858
values = [
59+
// Supported dtypes:
5960
'binary',
6061
'complex64',
6162
'complex128',
@@ -66,6 +67,7 @@ tape( 'the function returns `false` if not provided a supported ndarray unsigned
6667
'int32',
6768
'int8',
6869

70+
// Unsupported dtypes:
6971
'float',
7072
'int',
7173
'bin',

0 commit comments

Comments
 (0)