Skip to content

Commit 294d60a

Browse files
authored
chore: update test messages in constants/float64
PR-URL: #6748 Co-authored-by: hrshya <[email protected]> Reviewed-by: Philipp Burckhardt <[email protected]>
1 parent 6847363 commit 294d60a

File tree

15 files changed

+16
-16
lines changed

15 files changed

+16
-16
lines changed

lib/node_modules/@stdlib/constants/float64/max-base10-exponent-subnormal/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ tape( 'main export is a number', function test( t ) {
3333
});
3434

3535
tape( 'the exported value is `-308`', function test( t ) {
36-
t.equal( FLOAT64_MAX_BASE10_EXPONENT_SUBNORMAL, -308, 'equals -308' );
36+
t.equal( FLOAT64_MAX_BASE10_EXPONENT_SUBNORMAL, -308, 'returns expected value' );
3737
t.end();
3838
});

lib/node_modules/@stdlib/constants/float64/max-safe-integer/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ tape( 'main export is a number', function test( t ) {
3434
});
3535

3636
tape( 'the exported value is 2**53-1', function test( t ) {
37-
t.equal( FLOAT64_MAX_SAFE_INTEGER, pow(2, 53)-1, 'returns 2**53-1' );
37+
t.equal( FLOAT64_MAX_SAFE_INTEGER, pow(2, 53)-1, 'returns expected value' );
3838
t.end();
3939
});

lib/node_modules/@stdlib/constants/float64/min-base10-exponent-subnormal/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ tape( 'main export is a number', function test( t ) {
3333
});
3434

3535
tape( 'the exported value is `-324`', function test( t ) {
36-
t.equal( FLOAT64_MIN_BASE10_EXPONENT_SUBNORMAL, -324, 'equals -324' );
36+
t.equal( FLOAT64_MIN_BASE10_EXPONENT_SUBNORMAL, -324, 'returns expected value' );
3737
t.end();
3838
});

lib/node_modules/@stdlib/constants/float64/min-base10-exponent/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ tape( 'main export is a number', function test( t ) {
3333
});
3434

3535
tape( 'the exported value is `-308`', function test( t ) {
36-
t.equal( FLOAT64_MIN_BASE10_EXPONENT, -308, 'equals -308' );
36+
t.equal( FLOAT64_MIN_BASE10_EXPONENT, -308, 'returns expected value' );
3737
t.end();
3838
});

lib/node_modules/@stdlib/constants/float64/min-base2-exponent-subnormal/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ tape( 'main export is a number', function test( t ) {
3333
});
3434

3535
tape( 'the exported value is -1074', function test( t ) {
36-
t.equal( FLOAT64_MIN_BASE2_EXPONENT_SUBNORMAL, -1074, 'equals -1074' );
36+
t.equal( FLOAT64_MIN_BASE2_EXPONENT_SUBNORMAL, -1074, 'returns expected value' );
3737
t.end();
3838
});

lib/node_modules/@stdlib/constants/float64/min-base2-exponent/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ tape( 'main export is a number', function test( t ) {
3333
});
3434

3535
tape( 'the exported value is `-1022`', function test( t ) {
36-
t.equal( FLOAT64_MIN_BASE2_EXPONENT, -1022, 'equals -1022' );
36+
t.equal( FLOAT64_MIN_BASE2_EXPONENT, -1022, 'returns expected value' );
3737
t.end();
3838
});

lib/node_modules/@stdlib/constants/float64/min-safe-integer/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ tape( 'main export is a number', function test( t ) {
3434
});
3535

3636
tape( 'the exported value is -2**53+1', function test( t ) {
37-
t.equal( FLOAT64_MIN_SAFE_INTEGER, -pow(2, 53)+1, 'returns -2**53+1' );
37+
t.equal( FLOAT64_MIN_SAFE_INTEGER, -pow(2, 53)+1, 'returns expected value' );
3838
t.end();
3939
});

lib/node_modules/@stdlib/constants/float64/ninf/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ tape( 'main export is a number', function test( t ) {
3434
});
3535

3636
tape( 'export is equal to negative infinity', function test( t ) {
37-
t.equal( FLOAT64_NINF, Number.NEGATIVE_INFINITY, 'equals -infinity' );
37+
t.equal( FLOAT64_NINF, Number.NEGATIVE_INFINITY, 'returns expected value' );
3838
t.end();
3939
});

lib/node_modules/@stdlib/constants/float64/num-bytes/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ tape( 'main export is a number', function test( t ) {
3333
});
3434

3535
tape( 'the exported value is 8', function test( t ) {
36-
t.equal( NUM_BYTES, 8, 'equals 8' );
36+
t.equal( NUM_BYTES, 8, 'returns expected value' );
3737
t.end();
3838
});

lib/node_modules/@stdlib/constants/float64/phi/test/test.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ tape( 'main export is a number', function test( t ) {
3434
});
3535

3636
tape( 'export is a double-precision floating-point number equal to 1.618033988749895', function test( t ) {
37-
t.equal( PHI, 1.618033988749895, 'equals 1.618033988749895' );
37+
t.equal( PHI, 1.618033988749895, 'returns expected value' );
3838
t.end();
3939
});
4040

4141
tape( 'the exported value equals (1+sqrt(5))/2', function test( t ) {
42-
t.equal( PHI, (1.0+sqrt(5.0))/2.0, 'equals (1+sqrt(5))/2' );
42+
t.equal( PHI, (1.0+sqrt(5.0))/2.0, 'returns expected value' );
4343
t.end();
4444
});

lib/node_modules/@stdlib/constants/float64/pi-squared/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ tape( 'main export is a number', function test( t ) {
3737
});
3838

3939
tape( 'export is a double-precision floating-point number equal to 9.869604401089358', function test( t ) {
40-
t.equal( PI_SQUARED, 9.869604401089358, 'equals 9.869604401089358' );
40+
t.equal( PI_SQUARED, 9.869604401089358, 'returns expected value' );
4141
t.end();
4242
});
4343

lib/node_modules/@stdlib/constants/float64/pi/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ tape( 'main export is a number', function test( t ) {
3333
});
3434

3535
tape( 'export is a double-precision floating-point number equal to 3.141592653589793', function test( t ) {
36-
t.equal( PI, 3.141592653589793, 'equals 3.141592653589793' );
36+
t.equal( PI, 3.141592653589793, 'returns expected value' );
3737
t.end();
3838
});

lib/node_modules/@stdlib/constants/float64/pinf/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,6 @@ tape( 'main export is a number', function test( t ) {
3434
});
3535

3636
tape( 'export is equal to positive infinity', function test( t ) {
37-
t.equal( FLOAT64_PINF, Number.POSITIVE_INFINITY, 'equals +infinity' );
37+
t.equal( FLOAT64_PINF, Number.POSITIVE_INFINITY, 'returns expected value' );
3838
t.end();
3939
});

lib/node_modules/@stdlib/constants/float64/precision/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ tape( 'main export is a number', function test( t ) {
3333
});
3434

3535
tape( 'the exported value is 53', function test( t ) {
36-
t.equal( FLOAT64_PRECISION, 53, 'equals 53' );
36+
t.equal( FLOAT64_PRECISION, 53, 'returns expected value' );
3737
t.end();
3838
});

lib/node_modules/@stdlib/constants/float64/smallest-normal/test/test.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,6 @@ tape( 'main export is a number', function test( t ) {
3333
});
3434

3535
tape( 'the exported value equals the smallest normalized double-precision floating-point number', function test( t ) {
36-
t.equal( FLOAT64_SMALLEST_NORMAL, 2.2250738585072014e-308, 'smallest normalized value' );
36+
t.equal( FLOAT64_SMALLEST_NORMAL, 2.2250738585072014e-308, 'returns expected value' );
3737
t.end();
3838
});

0 commit comments

Comments
 (0)