Skip to content

Commit 2a31305

Browse files
committed
Auto-generated commit
1 parent 4713a06 commit 2a31305

File tree

5 files changed

+82
-19
lines changed

5 files changed

+82
-19
lines changed

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
We are excited about your pull request, but unfortunately we are not accepting pull requests against this repository, as all development happens on the [main project repository](https://github.com/stdlib-js/stdlib). We kindly request that you submit this pull request against the [respective directory](https://github.com/stdlib-js/stdlib/tree/develop/lib/node_modules/%40stdlib/math/base/special/heavisidef) of the main repository where we’ll review and provide feedback.
44

5-
If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/development.md) for help on developing stdlib.
5+
If this is your first stdlib contribution, be sure to read the [contributing guide](https://github.com/stdlib-js/stdlib/blob/develop/CONTRIBUTING.md) which provides guidelines and instructions for submitting contributions. You may also consult the [development guide](https://github.com/stdlib-js/stdlib/blob/develop/docs/contributing/development.md) for help on developing stdlib.
66

77
We look forward to receiving your contribution! :smiley:

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -188,3 +188,7 @@ jsconfig.json
188188
# Other editor files #
189189
######################
190190
.idea/
191+
192+
# Cursor #
193+
##########
194+
.cursorignore

CHANGELOG.md

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

7-
## Unreleased (2025-01-18)
7+
## Unreleased (2025-04-07)
88

99
<section class="features">
1010

@@ -22,6 +22,7 @@
2222

2323
<details>
2424

25+
- [`630ddb7`](https://github.com/stdlib-js/stdlib/commit/630ddb777824b5f6e501fda6dadf4ce41dccb964) - **test:** replace equal with strictEqual _(by Karan Anand)_
2526
- [`a2133de`](https://github.com/stdlib-js/stdlib/commit/a2133de85c6de60892a54b387dbf7bd1ad58e0c8) - **feat:** add `math/base/special/heavisidef` [(#3374)](https://github.com/stdlib-js/stdlib/pull/3374) _(by Vivek Maurya, Athan Reines, stdlib-bot)_
2627

2728
</details>
@@ -34,9 +35,10 @@
3435

3536
### Contributors
3637

37-
A total of 2 people contributed to this release. Thank you to the following contributors:
38+
A total of 3 people contributed to this release. Thank you to the following contributors:
3839

3940
- Athan Reines
41+
- Karan Anand
4042
- Vivek Maurya
4143

4244
</section>

CONTRIBUTORS

Lines changed: 60 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,31 @@
33
# Contributors listed in alphabetical order.
44

55
Aadish Jain <jain.aadishj@gmail.com>
6+
Aarya Balwadkar <142713127+AaryaBalwadkar@users.noreply.github.com>
67
Aayush Khanna <aayushiitbhu23@gmail.com>
8+
Abdelrahman Samir <60700731+abdelrahman04@users.noreply.github.com>
9+
Abdul Kaium <97376242+impawstarlight@users.noreply.github.com>
10+
Abhay Punia <156515195+Hecker165@users.noreply.github.com>
711
Abhijit Raut <abhijitmraut8010@gmail.com>
12+
Abhishek Jain <40913033+abhishekblue@users.noreply.github.com>
813
Adarsh Palaskar <adarshpalaskar99@gmail.com>
914
Aditya Sapra <adityaework@gmail.com>
1015
Ahmed Atwa <Ahmedatwa866@yahoo.com>
1116
Ahmed Kashkoush <ahmedkashkoush464@gmail.com>
1217
Ahmed Khaled <kahmd1444@gmail.com>
18+
Aksshay Balasubramanian <119944779+Aksshay88@users.noreply.github.com>
1319
Aleksandr <112382387+alextes90@users.noreply.github.com>
1420
Ali Salesi <ali_sal1381@yahoo.com>
21+
AlyAbdelmoneim <148393799+AlyAbdelmoneim@users.noreply.github.com>
1522
Aman Bhansali <bhansali.1@iitj.ac.in>
23+
AmanBhadkariya <140033975+AmanBhadkariya@users.noreply.github.com>
1624
Amit Jimiwal <amitjimiwal45@gmail.com>
25+
Anshu Kumar <132515490+anxhukumar@users.noreply.github.com>
26+
Anshu Kumar <contact.anshukumar@protonmail.com>
1727
Anudeep Sanapala <anudeep0306@gmail.com>
1828
Athan Reines <kgryte@gmail.com>
1929
Ayaka <73595362+USERSATOSHI@users.noreply.github.com>
30+
Bhavishy Agrawal <90029607+bhavishy2801@users.noreply.github.com>
2031
Brendan Graetz <bguiz@users.noreply.github.com>
2132
Bruno Fenzl <brunofenzl@gmail.com>
2233
Bryan Elee <rxbryn@gmail.com>
@@ -26,22 +37,36 @@ Dan Rose <danoftheroses@gmail.com>
2637
Daniel Killenberger <daniel.killenberger@gmail.com>
2738
Daniel Yu <40680511+Daniel777y@users.noreply.github.com>
2839
Debashis Maharana <debashismaharana7854@gmail.com>
40+
Deep Trivedi <128926685+thedeeppp@users.noreply.github.com>
2941
Desh Deepak Kant <118960904+DeshDeepakKant@users.noreply.github.com>
42+
Dev Goel <135586571+corsairier@users.noreply.github.com>
43+
Dhanyabad behera <110620935+dhanyabad11@users.noreply.github.com>
3044
Dhruv Arvind Singh <154677013+DhruvArvindSingh@users.noreply.github.com>
45+
Dhruvil Mehta <68022411+dhruvilmehta@users.noreply.github.com>
46+
Dipjyoti Das <126075231+dipexplorer@users.noreply.github.com>
3147
Divyansh Seth <59174836+sethdivyansh@users.noreply.github.com>
3248
Dominic Lim <46486515+domlimm@users.noreply.github.com>
3349
Dominik Moritz <domoritz@gmail.com>
3450
Dorrin Sotoudeh <dorrinsotoudeh123@gmail.com>
3551
EuniceSim142 <77243938+EuniceSim142@users.noreply.github.com>
3652
Frank Kovacs <fran70kk@gmail.com>
53+
GK Bishnoi <gkishan1kyt@gmail.com>
54+
Gaurav <gaurav70380@gmail.com>
55+
Gautam sharma <gautamkrishnasharma1@gmail.com>
3756
Golden Kumar <103646877+AuenKr@users.noreply.github.com>
3857
Gunj Joshi <gunjjoshi8372@gmail.com>
39-
Gururaj Gurram <143020143+gururaj1512@users.noreply.github.com>
58+
Gururaj Gurram <gururajgurram1512@gmail.com>
59+
Haroon Rasheed <51189276+haroon26@users.noreply.github.com>
60+
Harsh <149176984+hrshya@users.noreply.github.com>
4061
HarshaNP <96897754+GittyHarsha@users.noreply.github.com>
4162
Harshita Kalani <harshitakalani02@gmail.com>
63+
Hemant M Mehta <92446645+hemantmm@users.noreply.github.com>
4264
Hridyanshu <124202756+HRIDYANSHU054@users.noreply.github.com>
4365
Jaimin Godhani <112328542+Jai0401@users.noreply.github.com>
66+
Jaison D Souza <123267719+jsndz@users.noreply.github.com>
67+
Jalaj Kumar <142599224+jalajk3004@users.noreply.github.com>
4468
James Gelok <jdgelok@gmail.com>
69+
Jay Soni <jaygsoni14@gmail.com>
4570
Jaysukh Makvana <jaysukhmakvana2004@gmail.com>
4671
Jenish Thapa <141203631+jenish-thapa@users.noreply.github.com>
4772
Jithin KS <jithinks112@gmail.com>
@@ -50,55 +75,77 @@ Joey Reed <joeyrreed@gmail.com>
5075
Jordan Gallivan <115050475+Jordan-Gallivan@users.noreply.github.com>
5176
Joris Labie <joris.labie1@gmail.com>
5277
Justin Dennison <justin1dennison@gmail.com>
53-
Karan Anand <119553199+anandkaranubc@users.noreply.github.com>
78+
Justyn Shelby <96994781+ShelbyJustyn@users.noreply.github.com>
79+
Karan Anand <anandkarancompsci@gmail.com>
5480
Karthik Prakash <116057817+skoriop@users.noreply.github.com>
81+
Kaushikgtm <162317291+Kaushikgtm@users.noreply.github.com>
82+
Kavyansh-Bagdi <153486713+Kavyansh-Bagdi@users.noreply.github.com>
5583
Kohantika Nath <145763549+kohantikanath@users.noreply.github.com>
84+
Krishnam Agarwal <83017176+888krishnam@users.noreply.github.com>
5685
Krishnendu Das <86651039+itskdhere@users.noreply.github.com>
5786
Kshitij-Dale <152467202+Kshitij-Dale@users.noreply.github.com>
5887
Lovelin Dhoni J B <100030865+lovelindhoni@users.noreply.github.com>
88+
MANI <77221000+Eternity0207@users.noreply.github.com>
5989
Manik Sharma <maniksharma.rke@gmail.com>
6090
Manvith M <148960168+manvith2003@users.noreply.github.com>
6191
Marcus Fantham <mfantham@users.noreply.github.com>
6292
Matt Cochrane <matthew.cochrane.eng@gmail.com>
6393
Mihir Pandit <129577900+MSP20086@users.noreply.github.com>
6494
Milan Raj <rajsite@users.noreply.github.com>
95+
Mohammad Bin Aftab <48010758+MohammadBinAftab@users.noreply.github.com>
6596
Mohammad Kaif <mdkaifprofession@gmail.com>
6697
Momtchil Momtchev <momtchil@momtchev.com>
6798
Muhammad Haris <harriskhan047@outlook.com>
99+
Muhammad Taaha Tariq <166188821+Taaha-Tariq@users.noreply.github.com>
100+
Muhmmad Saad <106260977+saad-imran-dev@users.noreply.github.com>
68101
Naresh Jagadeesan <naresh.naresh000@gmail.com>
69102
Naveen Kumar <stupiddint@gmail.com>
70103
Neeraj Pathak <neerajrpathak710@gmail.com>
104+
NirvedMishra <139633597+NirvedMishra@users.noreply.github.com>
71105
Nishant Shinde <97207366+nishant-s7@users.noreply.github.com>
106+
Nishchay Rajput <121144841+NishchayRajput@users.noreply.github.com>
72107
Nithin Katta <88046362+nithinkatta@users.noreply.github.com>
73108
Nourhan Hasan <109472010+TheNourhan@users.noreply.github.com>
74109
Ognjen Jevremović <ognjenjevremovic@users.noreply.github.com>
75110
Oneday12323 <107678750+Oneday12323@users.noreply.github.com>
76111
Ori Miles <97595296+orimiles5@users.noreply.github.com>
77112
Philipp Burckhardt <pburckhardt@outlook.com>
113+
Prajjwal Bajpai <142303989+prajjwalbajpai@users.noreply.github.com>
78114
Prajwal Kulkarni <prajwalkulkarni76@gmail.com>
79-
Pranav Goswami <goswami.4@iitj.ac.in>
115+
Pranav Goswami <pranavchiku11@gmail.com>
80116
Pranjal Jha <97080887+PraneGIT@users.noreply.github.com>
81117
Prashant Kumar Yadav <144602492+0PrashantYadav0@users.noreply.github.com>
118+
PrathamBhamare <164445568+PrathamBhamare@users.noreply.github.com>
82119
Pratik Singh <97464067+Pratik772846@users.noreply.github.com>
83120
Pratyush Kumar Chouhan <pratyushkumar0308@gmail.com>
84121
Priyansh Prajapati <88396544+itsspriyansh@users.noreply.github.com>
85122
Priyanshu Agarwal <113460573+AgPriyanshu18@users.noreply.github.com>
123+
Pulkit Gupta <65711278+pulkitgupta2@users.noreply.github.com>
86124
Pushpendra Chandravanshi <pushpendrachandravanshi4@gmail.com>
125+
Rahul Kumar <132570066+rahulptl165@users.noreply.github.com>
87126
Raunak Kumar Gupta <raunakmodanwal321@gmail.com>
88127
Rejoan Sardar <119718513+Rejoan-Sardar@users.noreply.github.com>
89128
Ricky Reusser <rsreusser@gmail.com>
90129
Ridam Garg <67867319+RidamGarg@users.noreply.github.com>
91130
Rishav <115060907+rishav2404@users.noreply.github.com>
131+
Rishav Tarway <rishavtarway@gmail.com>
92132
Robert Gislason <gztown2216@yahoo.com>
93133
Roman Stetsyk <25715951+romanstetsyk@users.noreply.github.com>
134+
Rupa <102663541+Rupa-Rd@users.noreply.github.com>
94135
Rutam Kathale <138517416+performant23@users.noreply.github.com>
95136
Ruthwik Chikoti <145591715+ruthwikchikoti@users.noreply.github.com>
96137
Ryan Seal <splrk@users.noreply.github.com>
97138
Rylan Yang <137365285+rylany27@users.noreply.github.com>
139+
SAHIL KUMAR <168997976+sahilk45@users.noreply.github.com>
140+
SHIVAM YADAV <120725381+Shivam-1827@users.noreply.github.com>
141+
Sahil Goyal <87982509+sahil20021008@users.noreply.github.com>
142+
Sai Avinash <120403424+nasarobot@users.noreply.github.com>
98143
Sai Srikar Dumpeti <80447788+the-r3aper7@users.noreply.github.com>
144+
Sanchay Ketan Sinha <122982233+satansin123@users.noreply.github.com>
99145
Sarthak Paandey <145528240+SarthakPaandey@users.noreply.github.com>
100146
Saurabh Singh <saurabhsraghuvanshi@gmail.com>
101147
Seyyed Parsa Neshaei <spneshaei@users.noreply.github.com>
148+
Shabareesh Shetty <139731143+ShabiShett07@users.noreply.github.com>
102149
Shashank Shekhar Singh <shashankshekharsingh1205@gmail.com>
103150
Shivam Ahir <11shivam00@gmail.com>
104151
Shraddheya Shendre <shendreshraddheya@gmail.com>
@@ -109,7 +156,9 @@ Snehil Shah <snehilshah.989@gmail.com>
109156
Soumajit Chatterjee <121816890+soumajit23@users.noreply.github.com>
110157
Spandan Barve <contact@marsian.dev>
111158
Stephannie Jiménez Gacha <steff456@hotmail.com>
159+
Suhaib Ilahi <suhaib.elahi87@gmail.com>
112160
Suraj Kumar <125961509+kumarsuraj212003@users.noreply.github.com>
161+
Tanishq Ahuja <68651083+TheGEN1U5@users.noreply.github.com>
113162
Tirtadwipa Manunggal <tirtadwipa.manunggal@gmail.com>
114163
Tudor Pagu <104032457+tudor-pagu@users.noreply.github.com>
115164
Tufailahmed Bargir <142114244+Tufailahmed-Bargir@users.noreply.github.com>
@@ -123,6 +172,14 @@ Vivek Maurya <vm8118134@gmail.com>
123172
Xiaochuan Ye <tap91624@gmail.com>
124173
Yaswanth Kosuru <116426380+yaswanthkosuru@users.noreply.github.com>
125174
Yernar Yergaziyev <yernar.yergaziyev@erg.kz>
175+
Yugal Kaushik <yugalkaushik14@gmail.com>
176+
Yuvi Mittal <128018763+yuvi-mittal@users.noreply.github.com>
177+
ditsu <170345142+ditsus@users.noreply.github.com>
178+
ekambains <bainsinbusiness@gmail.com>
179+
fadiothman22 <48636283+fadiothman22@users.noreply.github.com>
180+
lohithganni <116790357+lohithganni@users.noreply.github.com>
126181
olenkabilonizhka <62379231+olenkabilonizhka@users.noreply.github.com>
182+
pranav-1720 <123018993+pranav-1720@users.noreply.github.com>
183+
rahulrangers <127782777+rahulrangers@users.noreply.github.com>
127184
rainn <88160429+AmCodesLame@users.noreply.github.com>
128185
rei2hu <reimu@reimu.ws>

test/test.js

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ tape( 'the function returns `0` if `x` is negative', function test( t ) {
4646
for ( i = 0; i < 1e3; i++ ) {
4747
x = -( randu()*100.0 ) - EPS;
4848
v = heavisidef( x );
49-
t.equal( isPositiveZerof( v ), true, 'returns expected value when provided '+x );
49+
t.strictEqual( isPositiveZerof( v ), true, 'returns expected value when provided '+x );
5050
}
5151
t.end();
5252
});
@@ -59,7 +59,7 @@ tape( 'the function returns `1` if `x` is positive', function test( t ) {
5959
for ( i = 0; i < 1e3; i++ ) {
6060
x = ( randu()*100.0 ) + EPS;
6161
v = heavisidef( x );
62-
t.equal( v, 1.0, 'returns expected value when provided '+x );
62+
t.strictEqual( v, 1.0, 'returns expected value when provided '+x );
6363
}
6464
t.end();
6565
});
@@ -68,10 +68,10 @@ tape( 'by default, the function returns `NaN` if provided `+-0`', function test(
6868
var v;
6969

7070
v = heavisidef( -0.0 );
71-
t.equal( isnanf( v ), true, 'returns expected value' );
71+
t.strictEqual( isnanf( v ), true, 'returns expected value' );
7272

7373
v = heavisidef( +0.0 );
74-
t.equal( isnanf( v ), true, 'returns expected value' );
74+
t.strictEqual( isnanf( v ), true, 'returns expected value' );
7575

7676
t.end();
7777
});
@@ -80,10 +80,10 @@ tape( 'if the `continuity` option is `half-maximum`, the function returns `0.5`
8080
var v;
8181

8282
v = heavisidef( -0.0, 'half-maximum' );
83-
t.equal( v, 0.5, 'returns expected value' );
83+
t.strictEqual( v, 0.5, 'returns expected value' );
8484

8585
v = heavisidef( +0.0, 'half-maximum' );
86-
t.equal( v, 0.5, 'returns expected value' );
86+
t.strictEqual( v, 0.5, 'returns expected value' );
8787

8888
t.end();
8989
});
@@ -92,10 +92,10 @@ tape( 'if the `continuity` option is `left-continuous`, the function returns `0.
9292
var v;
9393

9494
v = heavisidef( -0.0, 'left-continuous' );
95-
t.equal( isPositiveZerof( v ), true, 'returns expected value' );
95+
t.strictEqual( isPositiveZerof( v ), true, 'returns expected value' );
9696

9797
v = heavisidef( +0.0, 'left-continuous' );
98-
t.equal( isPositiveZerof( v ), true, 'returns expected value' );
98+
t.strictEqual( isPositiveZerof( v ), true, 'returns expected value' );
9999

100100
t.end();
101101
});
@@ -104,28 +104,28 @@ tape( 'if the `continuity` option is `right-continuous`, the function returns `1
104104
var v;
105105

106106
v = heavisidef( -0.0, 'right-continuous' );
107-
t.equal( v, 1.0, 'returns expected value' );
107+
t.strictEqual( v, 1.0, 'returns expected value' );
108108

109109
v = heavisidef( +0.0, 'right-continuous' );
110-
t.equal( v, 1.0, 'returns expected value' );
110+
t.strictEqual( v, 1.0, 'returns expected value' );
111111

112112
t.end();
113113
});
114114

115115
tape( 'the function returns `NaN` if provided `NaN`', function test( t ) {
116116
var v = heavisidef( NaN );
117-
t.equal( isnanf( v ), true, 'returns expected value' );
117+
t.strictEqual( isnanf( v ), true, 'returns expected value' );
118118
t.end();
119119
});
120120

121121
tape( 'the function returns `0` if provided `-infinity`', function test( t ) {
122122
var v = heavisidef( NINF );
123-
t.equal( v, 0.0, 'returns expected value' );
123+
t.strictEqual( v, 0.0, 'returns expected value' );
124124
t.end();
125125
});
126126

127127
tape( 'the function returns `+1` if provided `+infinity`', function test( t ) {
128128
var v = heavisidef( PINF );
129-
t.equal( v, 1.0, 'returns expected value' );
129+
t.strictEqual( v, 1.0, 'returns expected value' );
130130
t.end();
131131
});

0 commit comments

Comments
 (0)