Skip to content

Commit 17fe038

Browse files
committed
Auto-generated commit
1 parent 7c01217 commit 17fe038

File tree

7 files changed

+77
-52
lines changed

7 files changed

+77
-52
lines changed

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
<section class="release" id="unreleased">
66

7-
## Unreleased (2025-06-23)
7+
## Unreleased (2025-08-23)
88

99
<section class="features">
1010

@@ -34,6 +34,10 @@ This release closes the following issue:
3434

3535
<details>
3636

37+
- [`eb3218e`](https://github.com/stdlib-js/stdlib/commit/eb3218e35b0e498a31f286f8cf889e509a6d7792) - **style:** remove extra empty line [(#7932)](https://github.com/stdlib-js/stdlib/pull/7932) _(by stdlib-bot)_
38+
- [`fc438e0`](https://github.com/stdlib-js/stdlib/commit/fc438e0edbad0689d6923d6f3edb959b96597662) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
39+
- [`07f7c05`](https://github.com/stdlib-js/stdlib/commit/07f7c0522c73e6ad9505e1d45035ae439344200d) - **test:** use standardized assertion messages and fix lint errors _(by Philipp Burckhardt)_
40+
- [`9c21fd2`](https://github.com/stdlib-js/stdlib/commit/9c21fd20ef8b8a6a88abb96d80ea6d8e4c5434eb) - **test:** use .strictEqual() instead of .equal() _(by Philipp Burckhardt)_
3741
- [`17b5854`](https://github.com/stdlib-js/stdlib/commit/17b58546865fa067126bfdc11a8ae72f878cd96f) - **feat:** add C implementation for `stats/base/dists/triangular/cdf` [(#4669)](https://github.com/stdlib-js/stdlib/pull/4669) _(by Prashant Kumar Yadav, Philipp Burckhardt)_
3842

3943
</details>

CONTRIBUTORS

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@ Abdelrahman Samir <60700731+abdelrahman04@users.noreply.github.com>
99
Abdul Kaium <97376242+impawstarlight@users.noreply.github.com>
1010
Abhay Punia <156515195+Hecker165@users.noreply.github.com>
1111
Abhijit Raut <abhijitmraut8010@gmail.com>
12+
Abhishek G <166795493+AbhishekG-Codes@users.noreply.github.com>
1213
Abhishek Jain <40913033+abhishekblue@users.noreply.github.com>
1314
Adarsh Palaskar <adarshpalaskar99@gmail.com>
1415
Aditya Sapra <adityaework@gmail.com>
16+
Aditya Singh <adityasinghk099@gmail.com>
1517
Ahmed Atwa <Ahmedatwa866@yahoo.com>
1618
Ahmed Kashkoush <ahmedkashkoush464@gmail.com>
1719
Ahmed Khaled <kahmd1444@gmail.com>
@@ -23,12 +25,16 @@ Aman Bhansali <bhansali.1@iitj.ac.in>
2325
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
2426
Amisha Chhajed <136238836+amishhaa@users.noreply.github.com>
2527
Amit Jimiwal <amitjimiwal45@gmail.com>
28+
Anmol Sah <113588714+anmolsah@users.noreply.github.com>
2629
Annamalai Prabu <apfossdev@gmail.com>
2730
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
2831
Anshu Kumar <contact.anshukumar@protonmail.com>
2932
Anudeep Sanapala <anudeep0306@gmail.com>
33+
Arihant Pal <arihant0pal@gmail.com>
3034
Aryan Bhirud <112156883+AryanBhirud@users.noreply.github.com>
35+
AryanJ18 <18aryanj2006@gmail.com>
3136
Athan Reines <kgryte@gmail.com>
37+
Atharva Patil <124063987+atharva-patil-23@users.noreply.github.com>
3238
Ayaka <73595362+USERSATOSHI@users.noreply.github.com>
3339
Bhavishy Agrawal <90029607+bhavishy2801@users.noreply.github.com>
3440
Brendan Graetz <bguiz@users.noreply.github.com>
@@ -37,11 +43,13 @@ Bryan Elee <rxbryn@gmail.com>
3743
Chinmay Joshi <86140365+JawHawk@users.noreply.github.com>
3844
Christopher Dambamuromo <chridam@gmail.com>
3945
Dan Rose <danoftheroses@gmail.com>
46+
Daniel Hernandez Gomez <156333015+dhernandeez13@users.noreply.github.com>
4047
Daniel Killenberger <daniel.killenberger@gmail.com>
4148
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
4249
Debashis Maharana <debashismaharana7854@gmail.com>
4350
Deep Trivedi <128926685+thedeeppp@users.noreply.github.com>
4451
Deepak Singh <78257493+Deepak91168@users.noreply.github.com>
52+
Deepak Singh <negid0253@gmail.com>
4553
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
4654
Dev Goel <135586571+corsairier@users.noreply.github.com>
4755
Dhanyabad behera <110620935+dhanyabad11@users.noreply.github.com>
@@ -59,10 +67,12 @@ GURU PRASAD SHARMA <168292003+GURUPRASADSHARMA@users.noreply.github.com>
5967
Gaurav <gaurav70380@gmail.com>
6068
Gautam Kaushik <162317291+Kaushikgtm@users.noreply.github.com>
6169
Gautam sharma <gautamkrishnasharma1@gmail.com>
70+
GeoDaoyu <geodaoyu@foxmail.com>
6271
Girish Garg <garggirish2020@gmail.com>
6372
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
6473
Gunj Joshi <gunjjoshi8372@gmail.com>
6574
Gururaj Gurram <gururajgurram1512@gmail.com>
75+
Harishchandra Reddy <harish.7000@gmail.com>
6676
Haroon Rasheed <51189276+haroon26@users.noreply.github.com>
6777
Harsh <harshyadav6078@gmail.com>
6878
HarshaNP <96897754+GittyHarsha@users.noreply.github.com>
@@ -111,6 +121,8 @@ Momtchil Momtchev <momtchil@momtchev.com>
111121
Muhammad Haris <harriskhan047@outlook.com>
112122
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
113123
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
124+
NEEKUorAAYUSH <aayush10072004@gmail.com>
125+
Nakul Krishnakumar <nakulkrishnakumar86@gmail.com>
114126
Naresh Jagadeesan <naresh.naresh000@gmail.com>
115127
Naveen Kumar <stupiddint@gmail.com>
116128
Neeraj Pathak <neerajrpathak710@gmail.com>
@@ -125,6 +137,7 @@ Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
125137
Ori Miles <97595296+orimiles5@users.noreply.github.com>
126138
Philipp Burckhardt <pburckhardt@outlook.com>
127139
Pierre Forstmann <15964998+pierreforstmann@users.noreply.github.com>
140+
Pradyumn Prasad <pradyumnprasad.567@gmail.com>
128141
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
129142
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
130143
Pranav Goswami <pranavchiku11@gmail.com>
@@ -153,25 +166,30 @@ Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
153166
Ryan Seal <splrk@users.noreply.github.com>
154167
Rylan Yang <137365285+rylany27@users.noreply.github.com>
155168
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
169+
SAUJANYA MAGARDE <162047941+SaujanyaMagarde@users.noreply.github.com>
156170
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
157171
Sachin Raj <120590207+schnrj@users.noreply.github.com>
158172
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
159173
Sai Avinash <120403424+nasarobot@users.noreply.github.com>
160174
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
161175
Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
162176
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
177+
Satyajeet Chavan <chavansatyajeet2004@gmail.com>
163178
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
164179
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
165180
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
166181
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
167182
Shivam Ahir <11shivam00@gmail.com>
183+
Shivansh <114570926+shiv343@users.noreply.github.com>
168184
Shraddheya Shendre <shendreshraddheya@gmail.com>
169185
Shubh Mehta <93862397+Shubh942@users.noreply.github.com>
170186
Shubham Mishra <shubh622005@gmail.com>
187+
Siddhesh waje <117733253+siddhesh434@users.noreply.github.com>
171188
Sivam Das <100067002+Sivam2313@users.noreply.github.com>
172189
Snehil Shah <snehilshah.989@gmail.com>
173190
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
174191
Spandan Barve <contact@marsian.dev>
192+
Srinivas Batthula <srinivasbatthula05.official@gmail.com>
175193
Stephannie Jiménez Gacha <steff456@hotmail.com>
176194
Suhaib Ilahi <suhaib.elahi87@gmail.com>
177195
Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com>
@@ -187,20 +205,24 @@ Utkarsh <http://utkarsh11105@gmail.com>
187205
Utkarsh Raj <rajutkarsh2505@gmail.com>
188206
UtkershBasnet <119008923+UtkershBasnet@users.noreply.github.com>
189207
Vaibhav Patel <98279986+noobCoderVP@users.noreply.github.com>
208+
Vansh Choudhary <iamvanshchaudhary7@gmail.com>
190209
Vara Rahul Rajana <123227543+rajanarahul93@users.noreply.github.com>
191210
Varad Gupta <varadgupta21@gmail.com>
192211
Vinit Pandit <106718914+MeastroZI@users.noreply.github.com>
193212
Vivek Maurya <vm8118134@gmail.com>
213+
Wendy Yuchen Sun <wendyyuchensun@gmail.com>
194214
Xiaochuan Ye <tap91624@gmail.com>
195215
Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
196216
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
197217
Yugal Kaushik <yugalkaushik14@gmail.com>
198218
Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
219+
deepak427 <62477872+deepak427@users.noreply.github.com>
199220
devshree-bhati <147095250+devshree-bhati@users.noreply.github.com>
200221
ditsu <170345142+ditsus@users.noreply.github.com>
201222
ekambains <bainsinbusiness@gmail.com>
202223
fadiothman22 <48636283+fadiothman22@users.noreply.github.com>
203224
iraandrushko <71790513+iraandrushko@users.noreply.github.com>
225+
jsai28 <54253219+jsai28@users.noreply.github.com>
204226
lohithganni <116790357+lohithganni@users.noreply.github.com>
205227
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
206228
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,6 @@ for ( i = 0; i < 25; i++ ) {
181181

182182
<!-- /.examples -->
183183

184-
185184
<!-- C interface documentation. -->
186185

187186
* * *

test/test.cdf.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,42 +46,42 @@ tape( 'main export is a function', function test( t ) {
4646

4747
tape( 'if provided `NaN` for any parameter, the function returns `NaN`', function test( t ) {
4848
var y = cdf( NaN, 0.0, 1.0, 0.5 );
49-
t.equal( isnan( y ), true, 'returns NaN' );
49+
t.strictEqual( isnan( y ), true, 'returns expected value' );
5050
y = cdf( 0.0, NaN, 1.0, 0.5 );
51-
t.equal( isnan( y ), true, 'returns NaN' );
51+
t.strictEqual( isnan( y ), true, 'returns expected value' );
5252
y = cdf( 0.0, 1.0, NaN, 0.5 );
53-
t.equal( isnan( y ), true, 'returns NaN' );
53+
t.strictEqual( isnan( y ), true, 'returns expected value' );
5454
y = cdf( 0.0, 0.0, 1.0, NaN );
55-
t.equal( isnan( y ), true, 'returns NaN' );
55+
t.strictEqual( isnan( y ), true, 'returns expected value' );
5656
t.end();
5757
});
5858

5959
tape( 'if provided `+infinity` for `x` and a valid `a`, `b` and `c`, the function returns `1`', function test( t ) {
6060
var y = cdf( PINF, 0.0, 1.0, 0.5 );
61-
t.equal( y, 1.0, 'returns 1' );
61+
t.strictEqual( y, 1.0, 'returns expected value' );
6262
t.end();
6363
});
6464

6565
tape( 'if provided `-infinity` for `x` and a valid `a`, `b` and `c`, the function returns `0`', function test( t ) {
6666
var y = cdf( NINF, 0.0, 1.0, 0.5 );
67-
t.equal( y, 0.0, 'returns 0' );
67+
t.strictEqual( y, 0.0, 'returns expected value' );
6868
t.end();
6969
});
7070

7171
tape( 'if provided parameters not satisfying `a <= c <= b`, the function returns `NaN`', function test( t ) {
7272
var y;
7373

7474
y = cdf( 2.0, -1.0, -1.1, -1.0 );
75-
t.equal( isnan( y ), true, 'returns NaN' );
75+
t.strictEqual( isnan( y ), true, 'returns expected value' );
7676

7777
y = cdf( 0.0, 3.0, 2.0, 2.5 );
78-
t.equal( isnan( y ), true, 'returns NaN' );
78+
t.strictEqual( isnan( y ), true, 'returns expected value' );
7979

8080
y = cdf( 0.0, 0.0, 1.0, -1.0 );
81-
t.equal( isnan( y ), true, 'returns NaN' );
81+
t.strictEqual( isnan( y ), true, 'returns expected value' );
8282

8383
y = cdf( 0.0, 0.0, 1.0, 2.0 );
84-
t.equal( isnan( y ), true, 'returns NaN' );
84+
t.strictEqual( isnan( y ), true, 'returns expected value' );
8585

8686
t.end();
8787
});
@@ -105,7 +105,7 @@ tape( 'the function evaluates the cdf for `x` given a small range `b - a`', func
105105
for ( i = 0; i < x.length; i++ ) {
106106
y = cdf( x[i], a[i], b[i], c[i] );
107107
if ( y === expected[i] ) {
108-
t.equal( y, expected[i], 'x: '+x[i]+', a: '+a[i]+', b: '+b[i]+', c: '+c[i]+', y: '+y+', expected: '+expected[i] );
108+
t.strictEqual( y, expected[i], 'x: '+x[i]+', a: '+a[i]+', b: '+b[i]+', c: '+c[i]+', y: '+y+', expected: '+expected[i] );
109109
} else {
110110
delta = abs( y - expected[ i ] );
111111
tol = 1.0 * EPS * abs( expected[ i ] );
@@ -134,7 +134,7 @@ tape( 'the function evaluates the cdf for `x` given a medium range `b - a`', fun
134134
for ( i = 0; i < x.length; i++ ) {
135135
y = cdf( x[i], a[i], b[i], c[i] );
136136
if ( y === expected[i] ) {
137-
t.equal( y, expected[i], 'x: '+x[i]+', a: '+a[i]+', b: '+b[i]+', c: '+c[i]+', y: '+y+', expected: '+expected[i] );
137+
t.strictEqual( y, expected[i], 'x: '+x[i]+', a: '+a[i]+', b: '+b[i]+', c: '+c[i]+', y: '+y+', expected: '+expected[i] );
138138
} else {
139139
delta = abs( y - expected[ i ] );
140140
tol = 1.0 * EPS * abs( expected[ i ] );
@@ -163,7 +163,7 @@ tape( 'the function evaluates the cdf for `x` given a large range `b - a`', func
163163
for ( i = 0; i < x.length; i++ ) {
164164
y = cdf( x[i], a[i], b[i], c[i] );
165165
if ( y === expected[i] ) {
166-
t.equal( y, expected[i], 'x: '+x[i]+', a: '+a[i]+', b: '+b[i]+', c: '+c[i]+', y: '+y+', expected: '+expected[i] );
166+
t.strictEqual( y, expected[i], 'x: '+x[i]+', a: '+a[i]+', b: '+b[i]+', c: '+c[i]+', y: '+y+', expected: '+expected[i] );
167167
} else {
168168
delta = abs( y - expected[ i ] );
169169
tol = 1.0 * EPS * abs( expected[ i ] );

test/test.factory.js

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ tape( 'main export is a function', function test( t ) {
4646

4747
tape( 'the function returns a function', function test( t ) {
4848
var cdf = factory( 0.0, 1.0, 0.5 );
49-
t.equal( typeof cdf, 'function', 'returns a function' );
49+
t.strictEqual( typeof cdf, 'function', 'returns expected value' );
5050
t.end();
5151
});
5252

@@ -56,39 +56,39 @@ tape( 'if provided `NaN` for any parameter, the created function returns `NaN`',
5656

5757
cdf = factory( 0.0, 1.0, 0.5 );
5858
y = cdf( NaN );
59-
t.equal( isnan( y ), true, 'returns NaN' );
59+
t.strictEqual( isnan( y ), true, 'returns expected value' );
6060

6161
cdf = factory( NaN, 1.0, 0.5 );
6262
y = cdf( 0.0 );
63-
t.equal( isnan( y ), true, 'returns NaN' );
63+
t.strictEqual( isnan( y ), true, 'returns expected value' );
6464

6565
cdf = factory( 0.0, NaN, 0.5 );
6666
y = cdf( 0.0 );
67-
t.equal( isnan( y ), true, 'returns NaN' );
67+
t.strictEqual( isnan( y ), true, 'returns expected value' );
6868

6969
cdf = factory( 0.0, 1.0, NaN );
7070
y = cdf( 0.0 );
71-
t.equal( isnan( y ), true, 'returns NaN' );
71+
t.strictEqual( isnan( y ), true, 'returns expected value' );
7272

7373
cdf = factory( NaN, NaN, NaN );
7474
y = cdf( 0.0 );
75-
t.equal( isnan( y ), true, 'returns NaN' );
75+
t.strictEqual( isnan( y ), true, 'returns expected value' );
7676

7777
cdf = factory( 0.0, NaN, NaN );
7878
y = cdf( 0.0 );
79-
t.equal( isnan( y ), true, 'returns NaN' );
79+
t.strictEqual( isnan( y ), true, 'returns expected value' );
8080

8181
cdf = factory( NaN, 1.0, NaN );
8282
y = cdf( 0.0 );
83-
t.equal( isnan( y ), true, 'returns NaN' );
83+
t.strictEqual( isnan( y ), true, 'returns expected value' );
8484

8585
cdf = factory( NaN, NaN, 0.5 );
8686
y = cdf( 0.0 );
87-
t.equal( isnan( y ), true, 'returns NaN' );
87+
t.strictEqual( isnan( y ), true, 'returns expected value' );
8888

8989
cdf = factory( NaN, NaN, 0.5 );
9090
y = cdf( NaN );
91-
t.equal( isnan( y ), true, 'returns NaN' );
91+
t.strictEqual( isnan( y ), true, 'returns expected value' );
9292

9393
t.end();
9494
});
@@ -99,7 +99,7 @@ tape( 'if provided a valid `a`, `b` and `c`, the function returns a function whi
9999

100100
cdf = factory( 0.0, 1.0, 0.5 );
101101
y = cdf( PINF );
102-
t.equal( y, 1.0, 'returns 1' );
102+
t.strictEqual( y, 1.0, 'returns expected value' );
103103

104104
t.end();
105105
});
@@ -110,7 +110,7 @@ tape( 'if provided a finite `a` and `b`, the function returns a function which r
110110

111111
cdf = factory( 0.0, 1.0, 0.5 );
112112
y = cdf( NINF );
113-
t.equal( y, 0.0, 'returns 0' );
113+
t.strictEqual( y, 0.0, 'returns expected value' );
114114

115115
t.end();
116116
});
@@ -122,34 +122,34 @@ tape( 'if provided parameters not satisfying `a <= c <= b`, the created function
122122
cdf = factory( 2.0, 1.0, 0.5 );
123123

124124
y = cdf( 2.0 );
125-
t.equal( isnan( y ), true, 'returns NaN' );
125+
t.strictEqual( isnan( y ), true, 'returns expected value' );
126126

127127
y = cdf( 0.0 );
128-
t.equal( isnan( y ), true, 'returns NaN' );
128+
t.strictEqual( isnan( y ), true, 'returns expected value' );
129129

130130
cdf = factory( 0.0, NINF, 0.5 );
131131
y = cdf( 2.0 );
132-
t.equal( isnan( y ), true, 'returns NaN' );
132+
t.strictEqual( isnan( y ), true, 'returns expected value' );
133133

134134
cdf = factory( PINF, NINF, 0.5 );
135135
y = cdf( 2.0 );
136-
t.equal( isnan( y ), true, 'returns NaN' );
136+
t.strictEqual( isnan( y ), true, 'returns expected value' );
137137

138138
cdf = factory( NINF, NINF, 0.5 );
139139
y = cdf( 2.0 );
140-
t.equal( isnan( y ), true, 'returns NaN' );
140+
t.strictEqual( isnan( y ), true, 'returns expected value' );
141141

142142
cdf = factory( -1.0, -2.0, 0.5 );
143143
y = cdf( 2.0 );
144-
t.equal( isnan( y ), true, 'returns NaN' );
144+
t.strictEqual( isnan( y ), true, 'returns expected value' );
145145

146146
cdf = factory( -10.0, 10.0, 12.0 );
147147
y = cdf( 2.0 );
148-
t.equal( isnan( y ), true, 'returns NaN' );
148+
t.strictEqual( isnan( y ), true, 'returns expected value' );
149149

150150
cdf = factory( -10.0, 10.0, -12.0 );
151151
y = cdf( 2.0 );
152-
t.equal( isnan( y ), true, 'returns NaN' );
152+
t.strictEqual( isnan( y ), true, 'returns expected value' );
153153

154154
t.end();
155155
});
@@ -175,7 +175,7 @@ tape( 'the created function evaluates the cdf for `x` given a small range `b - a
175175
cdf = factory( a[i], b[i], c[i] );
176176
y = cdf( x[i] );
177177
if ( y === expected[i] ) {
178-
t.equal( y, expected[i], 'x: '+x[i]+', a: '+a[i]+', b: '+b[i]+', c: '+c[i]+', y: '+y+', expected: '+expected[i] );
178+
t.strictEqual( y, expected[i], 'x: '+x[i]+', a: '+a[i]+', b: '+b[i]+', c: '+c[i]+', y: '+y+', expected: '+expected[i] );
179179
} else {
180180
delta = abs( y - expected[ i ] );
181181
tol = 1.0 * EPS * abs( expected[ i ] );
@@ -206,7 +206,7 @@ tape( 'the created function evaluates the cdf for `x` given a medium range `b -
206206
cdf = factory( a[i], b[i], c[i] );
207207
y = cdf( x[i] );
208208
if ( y === expected[i] ) {
209-
t.equal( y, expected[i], 'x: '+x[i]+', a: '+a[i]+', b: '+b[i]+', c: '+c[i]+', y: '+y+', expected: '+expected[i] );
209+
t.strictEqual( y, expected[i], 'x: '+x[i]+', a: '+a[i]+', b: '+b[i]+', c: '+c[i]+', y: '+y+', expected: '+expected[i] );
210210
} else {
211211
delta = abs( y - expected[ i ] );
212212
tol = 1.0 * EPS * abs( expected[ i ] );
@@ -237,7 +237,7 @@ tape( 'the created function evaluates the cdf for `x` given a large range `b - a
237237
cdf = factory( a[i], b[i], c[i] );
238238
y = cdf( x[i] );
239239
if ( y === expected[i] ) {
240-
t.equal( y, expected[i], 'x: '+x[i]+', a: '+a[i]+', b: '+b[i]+', c: '+c[i]+', y: '+y+', expected: '+expected[i] );
240+
t.strictEqual( y, expected[i], 'x: '+x[i]+', a: '+a[i]+', b: '+b[i]+', c: '+c[i]+', y: '+y+', expected: '+expected[i] );
241241
} else {
242242
delta = abs( y - expected[ i ] );
243243
tol = 1.0 * EPS * abs( expected[ i ] );

test/test.js

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

3535
tape( 'attached to the main export is a factory method for generating `cdf` functions', function test( t ) {
36-
t.equal( typeof cdf.factory, 'function', 'exports a factory method' );
36+
t.strictEqual( typeof cdf.factory, 'function', 'exports a factory method' );
3737
t.end();
3838
});

0 commit comments

Comments
 (0)