From 12598784dfcf0fdf137e4437a8c7f05c88b395fe Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Tue, 6 Jan 2026 17:45:32 +0530 Subject: [PATCH 01/12] Remove duplicate test case in mean test Removed duplicate test case for mean function. Signed-off-by: Suyash Pathak --- .../@stdlib/stats/base/dists/normal/mean/test/test.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/normal/mean/test/test.js b/lib/node_modules/@stdlib/stats/base/dists/normal/mean/test/test.js index c78b7ef1e1a7..2091e9fb9aaf 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/normal/mean/test/test.js +++ b/lib/node_modules/@stdlib/stats/base/dists/normal/mean/test/test.js @@ -59,9 +59,6 @@ tape( 'if provided a nonpositive `sigma`, the function returns `NaN`', function y = mean( 2.0, -1.0 ); t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 2.0, -1.0 ); - t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 1.0, NINF ); t.strictEqual( isnan( y ), true, 'returns expected value' ); From f7822ed7d165acd33b20d24af831c7224769b6dd Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Tue, 6 Jan 2026 17:46:45 +0530 Subject: [PATCH 02/12] Remove duplicate test case in mean test file Removed duplicate test case for mean function. Signed-off-by: Suyash Pathak --- .../@stdlib/stats/base/dists/normal/mean/test/test.native.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/normal/mean/test/test.native.js b/lib/node_modules/@stdlib/stats/base/dists/normal/mean/test/test.native.js index c79d15bf715f..8726fb81d1c6 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/normal/mean/test/test.native.js +++ b/lib/node_modules/@stdlib/stats/base/dists/normal/mean/test/test.native.js @@ -68,9 +68,6 @@ tape( 'if provided a nonpositive `sigma`, the function returns `NaN`', opts, fun y = mean( 2.0, -1.0 ); t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 2.0, -1.0 ); - t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 1.0, NINF ); t.strictEqual( isnan( y ), true, 'returns expected value' ); From 6a45bb40f0d6a3c8eaa58dcac8c0b9449e4caa53 Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Tue, 6 Jan 2026 17:57:33 +0530 Subject: [PATCH 03/12] Remove duplicate test case in mean test Removed duplicate test case for mean function. Signed-off-by: Suyash Pathak --- .../@stdlib/stats/base/dists/gumbel/mean/test/test.native.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/mean/test/test.native.js b/lib/node_modules/@stdlib/stats/base/dists/gumbel/mean/test/test.native.js index 7f01dfe7b609..cf18173ae193 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/mean/test/test.native.js +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/mean/test/test.native.js @@ -68,9 +68,6 @@ tape( 'if provided a nonpositive `beta`, the function returns `NaN`', opts, func y = mean( 2.0, -1.0 ); t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 2.0, -1.0 ); - t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 1.0, NINF ); t.strictEqual( isnan( y ), true, 'returns expected value' ); From 402b66b494d4ed91a5e73e9fbcd7dc089789a398 Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Tue, 6 Jan 2026 17:58:11 +0530 Subject: [PATCH 04/12] Remove duplicate test case in gumbel mean tests Removed duplicate test case for mean function. Signed-off-by: Suyash Pathak --- .../@stdlib/stats/base/dists/gumbel/mean/test/test.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/gumbel/mean/test/test.js b/lib/node_modules/@stdlib/stats/base/dists/gumbel/mean/test/test.js index 5e88c7e94e9e..62ef0f80a19c 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/gumbel/mean/test/test.js +++ b/lib/node_modules/@stdlib/stats/base/dists/gumbel/mean/test/test.js @@ -59,9 +59,6 @@ tape( 'if provided a nonpositive `beta`, the function returns `NaN`', function t y = mean( 2.0, -1.0 ); t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 2.0, -1.0 ); - t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 1.0, NINF ); t.strictEqual( isnan( y ), true, 'returns expected value' ); From 891689987735a2322e1ec731a8e59d5a3789abf8 Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Tue, 6 Jan 2026 18:01:54 +0530 Subject: [PATCH 05/12] Remove duplicate test case for mean function Removed duplicate test case for mean function with specific inputs. Signed-off-by: Suyash Pathak --- .../@stdlib/stats/base/dists/laplace/mean/test/test.native.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/laplace/mean/test/test.native.js b/lib/node_modules/@stdlib/stats/base/dists/laplace/mean/test/test.native.js index 23e72d0c78f1..27732941ed3e 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/laplace/mean/test/test.native.js +++ b/lib/node_modules/@stdlib/stats/base/dists/laplace/mean/test/test.native.js @@ -68,9 +68,6 @@ tape( 'if provided a nonpositive `b`, the function returns `NaN`', opts, functio y = mean( 2.0, -1.0 ); t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 2.0, -1.0 ); - t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 1.0, NINF ); t.strictEqual( isnan( y ), true, 'returns expected value' ); From 75b6a6b901c53027b6b0db4f98b20425bd7758e5 Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Tue, 6 Jan 2026 18:02:39 +0530 Subject: [PATCH 06/12] Remove duplicate test case in mean test Removed duplicate test case for mean function. Signed-off-by: Suyash Pathak --- .../@stdlib/stats/base/dists/laplace/mean/test/test.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/laplace/mean/test/test.js b/lib/node_modules/@stdlib/stats/base/dists/laplace/mean/test/test.js index 53351d77c706..75c8fae1687d 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/laplace/mean/test/test.js +++ b/lib/node_modules/@stdlib/stats/base/dists/laplace/mean/test/test.js @@ -57,9 +57,6 @@ tape( 'if provided a nonpositive `b`, the function returns `NaN`', function test y = mean( 2.0, -1.0 ); t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 2.0, -1.0 ); - t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 1.0, NINF ); t.strictEqual( isnan( y ), true, 'returns expected value' ); From 972dbb68a62d1fc866322755ea183c0f7deb4f39 Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Tue, 6 Jan 2026 18:03:26 +0530 Subject: [PATCH 07/12] Remove duplicate test case for mean function Removed duplicate test case for mean function with negative input. Signed-off-by: Suyash Pathak --- .../@stdlib/stats/base/dists/levy/mean/test/test.native.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/levy/mean/test/test.native.js b/lib/node_modules/@stdlib/stats/base/dists/levy/mean/test/test.native.js index 53c7e7c0759d..35a703d78ed1 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/levy/mean/test/test.native.js +++ b/lib/node_modules/@stdlib/stats/base/dists/levy/mean/test/test.native.js @@ -62,9 +62,6 @@ tape( 'if provided a nonpositive `c`, the function returns `NaN`', opts, functio y = mean( 2.0, -1.0 ); t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 2.0, -1.0 ); - t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 1.0, NINF ); t.strictEqual( isnan( y ), true, 'returns expected value' ); From d365be580c19ea362c28820a2a67845e9f4d8f02 Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Tue, 6 Jan 2026 18:04:07 +0530 Subject: [PATCH 08/12] Remove duplicate test case for mean function Removed duplicate test case for mean function with specific inputs. Signed-off-by: Suyash Pathak --- .../@stdlib/stats/base/dists/logistic/mean/test/test.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/logistic/mean/test/test.js b/lib/node_modules/@stdlib/stats/base/dists/logistic/mean/test/test.js index 1e36744ee281..024b57ac5028 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/logistic/mean/test/test.js +++ b/lib/node_modules/@stdlib/stats/base/dists/logistic/mean/test/test.js @@ -59,9 +59,6 @@ tape( 'if provided a nonpositive `s`, the function returns `NaN`', function test y = mean( 2.0, -1.0 ); t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 2.0, -1.0 ); - t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 1.0, NINF ); t.strictEqual( isnan( y ), true, 'returns expected value' ); From a90b874334473694a16b3903812edc9c6ef9b3b0 Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Tue, 6 Jan 2026 18:06:05 +0530 Subject: [PATCH 09/12] Remove duplicate test case in lognormal mean tests Removed duplicate test case for mean function. Signed-off-by: Suyash Pathak --- .../@stdlib/stats/base/dists/lognormal/mean/test/test.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/lognormal/mean/test/test.js b/lib/node_modules/@stdlib/stats/base/dists/lognormal/mean/test/test.js index 4ea573a592a6..55f3f86c4148 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/lognormal/mean/test/test.js +++ b/lib/node_modules/@stdlib/stats/base/dists/lognormal/mean/test/test.js @@ -59,9 +59,6 @@ tape( 'if provided a nonpositive `sigma`, the function returns `NaN`', function y = mean( 2.0, -1.0 ); t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 2.0, -1.0 ); - t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 1.0, NINF ); t.strictEqual( isnan( y ), true, 'returns expected value' ); From f09ba1122bde423382b811354ffc404d70382475 Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Tue, 6 Jan 2026 18:06:43 +0530 Subject: [PATCH 10/12] Remove duplicate test case for mean function Removed duplicate test case for mean function with parameters 2.0 and -1.0. Signed-off-by: Suyash Pathak --- .../stats/base/dists/lognormal/mean/test/test.native.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/lognormal/mean/test/test.native.js b/lib/node_modules/@stdlib/stats/base/dists/lognormal/mean/test/test.native.js index e78c49b73c58..026bbeebe21b 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/lognormal/mean/test/test.native.js +++ b/lib/node_modules/@stdlib/stats/base/dists/lognormal/mean/test/test.native.js @@ -68,9 +68,6 @@ tape( 'if provided a nonpositive `sigma`, the function returns `NaN`', opts, fun y = mean( 2.0, -1.0 ); t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 2.0, -1.0 ); - t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 1.0, NINF ); t.strictEqual( isnan( y ), true, 'returns expected value' ); From 5a2e8302236bec05458d340415bd116a098c565f Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Tue, 6 Jan 2026 18:10:10 +0530 Subject: [PATCH 11/12] Update test.js Signed-off-by: Suyash Pathak --- .../@stdlib/stats/base/dists/levy/mean/test/test.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/levy/mean/test/test.js b/lib/node_modules/@stdlib/stats/base/dists/levy/mean/test/test.js index 68914004c543..16e1fdae95b4 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/levy/mean/test/test.js +++ b/lib/node_modules/@stdlib/stats/base/dists/levy/mean/test/test.js @@ -53,9 +53,6 @@ tape( 'if provided a nonpositive `c`, the function returns `NaN`', function test y = mean( 2.0, -1.0 ); t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 2.0, -1.0 ); - t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 1.0, NINF ); t.strictEqual( isnan( y ), true, 'returns expected value' ); From ad49e8f467f62561439060b46b150ed7c2ae4af1 Mon Sep 17 00:00:00 2001 From: Suyash Pathak Date: Tue, 6 Jan 2026 18:14:07 +0530 Subject: [PATCH 12/12] Remove duplicate test case in mean test Removed duplicate test case for mean function. Signed-off-by: Suyash Pathak --- .../@stdlib/stats/base/dists/cosine/mean/test/test.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/node_modules/@stdlib/stats/base/dists/cosine/mean/test/test.js b/lib/node_modules/@stdlib/stats/base/dists/cosine/mean/test/test.js index 0febb4989c6b..d565213fe467 100644 --- a/lib/node_modules/@stdlib/stats/base/dists/cosine/mean/test/test.js +++ b/lib/node_modules/@stdlib/stats/base/dists/cosine/mean/test/test.js @@ -57,9 +57,6 @@ tape( 'if provided a nonpositive `s`, the function returns `NaN`', function test y = mean( 2.0, -1.0 ); t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 2.0, -1.0 ); - t.strictEqual( isnan( y ), true, 'returns expected value' ); - y = mean( 1.0, NINF ); t.strictEqual( isnan( y ), true, 'returns expected value' );