Skip to content

Commit d52d400

Browse files
committed
Auto-generated commit
1 parent f6b1213 commit d52d400

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

.github/.keepalive

-1
This file was deleted.

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
<details>
1414

15+
- [`dededfd`](https://github.com/stdlib-js/stdlib/commit/dededfdc6102931758f0a12955d0054df893d849) - **bench:** update random value generation [(#6682)](https://github.com/stdlib-js/stdlib/pull/6682) _(by Harsh)_
1516
- [`8bf8285`](https://github.com/stdlib-js/stdlib/commit/8bf8285aba0ecbd00ae145c4c5c098cd28135814) - **chore:** minor clean-up _(by Philipp Burckhardt)_
1617
- [`5b4c5ca`](https://github.com/stdlib-js/stdlib/commit/5b4c5cadb3d2fed46829dbf32f217726658e46bb) - **bench:** resolve lint errors _(by Athan Reines)_
1718
- [`2777e4b`](https://github.com/stdlib-js/stdlib/commit/2777e4be161869d09406e3b17947d24c64b47af2) - **bench:** resolve lint errors in benchmarks _(by Athan Reines)_
@@ -26,9 +27,10 @@
2627

2728
### Contributors
2829

29-
A total of 2 people contributed to this release. Thank you to the following contributors:
30+
A total of 3 people contributed to this release. Thank you to the following contributors:
3031

3132
- Athan Reines
33+
- Harsh
3234
- Philipp Burckhardt
3335

3436
</section>

test/test.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -49,14 +49,14 @@ tape( 'the function returns `false` if provided a prime number', function test(
4949
M = 2e4;
5050
for ( i = 0; i < M; i++ ) {
5151
v = PRIMES[ i ];
52-
t.equal( isComposite( v ), false, 'returns false when provided '+v );
52+
t.equal( isComposite( v ), false, 'returns expected value when provided '+v );
5353
}
5454
// Randomly test prime numbers chosen from the remainder of the list of known prime numbers...
5555
N = PRIMES.length - 1;
5656
for ( i = 0; i < 1e3; i++ ) {
5757
j = discreteUniform( M, N );
5858
v = PRIMES[ j ];
59-
t.equal( isComposite( v ), false, 'returns false when provided '+v );
59+
t.equal( isComposite( v ), false, 'returns expected value when provided '+v );
6060
}
6161
t.end();
6262
});
@@ -79,7 +79,7 @@ tape( 'the function returns `true` if provided a composite number', function tes
7979
if ( hash[ i ] ) {
8080
continue;
8181
}
82-
t.equal( isComposite( i ), true, 'returns true when provided '+i );
82+
t.equal( isComposite( i ), true, 'returns expected value when provided '+i );
8383
}
8484
// Generate random composite integers among the list of primes...
8585
MAX = PRIMES[ N-1 ];
@@ -92,7 +92,7 @@ tape( 'the function returns `true` if provided a composite number', function tes
9292
i -= 1;
9393
continue;
9494
}
95-
t.equal( isComposite( j ), true, 'returns true when provided '+j );
95+
t.equal( isComposite( j ), true, 'returns expected value when provided '+j );
9696
}
9797
t.end();
9898
});
@@ -103,7 +103,7 @@ tape( 'the function returns `false` if not provided a positive integer', functio
103103
for ( i = 0; i < 100; i++ ) {
104104
v = ( randu()*100.0 ) - 50.0;
105105
if ( trunc(v) !== v ) {
106-
t.equal( isComposite( v ), false, 'returns false when provided '+v );
106+
t.equal( isComposite( v ), false, 'returns expected value when provided '+v );
107107
}
108108
}
109109
t.end();

test/test.native.js

+5-5
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ tape( 'the function returns `false` if provided a prime number', opts, function
6262
M = 2e4;
6363
for ( i = 0; i < M; i++ ) {
6464
v = PRIMES[ i ];
65-
t.equal( isComposite( v ), false, 'returns false when provided ' + v );
65+
t.equal( isComposite( v ), false, 'returns expected value when provided ' + v );
6666
}
6767
// Randomly test prime numbers chosen from the remainder of the list of known prime numbers...
6868
N = PRIMES.length - 1;
6969
for ( i = 0; i < 1e3; i++ ) {
7070
j = discreteUniform( M, N );
7171
v = PRIMES[ j ];
72-
t.equal( isComposite( v ), false, 'returns false when provided ' + v );
72+
t.equal( isComposite( v ), false, 'returns expected value when provided ' + v );
7373
}
7474
t.end();
7575
});
@@ -92,7 +92,7 @@ tape( 'the function returns `true` if provided a composite number', opts, functi
9292
if ( hash[ i ] ) {
9393
continue;
9494
}
95-
t.equal( isComposite( i ), true, 'returns true when provided ' + i );
95+
t.equal( isComposite( i ), true, 'returns expected value when provided ' + i );
9696
}
9797
// Generate random composite integers among the list of primes...
9898
MAX = PRIMES[ N-1 ];
@@ -105,7 +105,7 @@ tape( 'the function returns `true` if provided a composite number', opts, functi
105105
i -= 1;
106106
continue;
107107
}
108-
t.equal( isComposite( j ), true, 'returns true when provided ' + j );
108+
t.equal( isComposite( j ), true, 'returns expected value when provided ' + j );
109109
}
110110
t.end();
111111
});
@@ -116,7 +116,7 @@ tape( 'the function returns `false` if not provided a positive integer', opts, f
116116
for ( i = 0; i < 100; i++ ) {
117117
v = ( randu()*100.0 ) - 50.0;
118118
if ( trunc( v ) !== v ) {
119-
t.equal( isComposite( v ), false, 'returns false when provided ' + v );
119+
t.equal( isComposite( v ), false, 'returns expected value when provided ' + v );
120120
}
121121
}
122122
t.end();

0 commit comments

Comments
 (0)