This is an automated email from the ASF dual-hosted git repository.
aherbert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-numbers.git
The following commit(s) were added to refs/heads/master by this push:
new 4457bfd Remove public from test method signatures
4457bfd is described below
commit 4457bfdb65383de0daa9902ad0856f848892f364
Author: Alex Herbert <[email protected]>
AuthorDate: Fri Jul 9 15:10:34 2021 +0100
Remove public from test method signatures
---
.../java/org/apache/commons/numbers/arrays/SortInPlaceTest.java | 8 ++++----
.../src/test/java/org/apache/commons/numbers/core/SumTest.java | 2 +-
2 files changed, 5 insertions(+), 5 deletions(-)
diff --git
a/commons-numbers-arrays/src/test/java/org/apache/commons/numbers/arrays/SortInPlaceTest.java
b/commons-numbers-arrays/src/test/java/org/apache/commons/numbers/arrays/SortInPlaceTest.java
index 960f01a..7523608 100644
---
a/commons-numbers-arrays/src/test/java/org/apache/commons/numbers/arrays/SortInPlaceTest.java
+++
b/commons-numbers-arrays/src/test/java/org/apache/commons/numbers/arrays/SortInPlaceTest.java
@@ -26,7 +26,7 @@ import org.junit.jupiter.api.Test;
*/
class SortInPlaceTest {
@Test
- public void testAscending() {
+ void testAscending() {
final double[] x = {2, 5, -3, 1, 4};
final double[] y = {4, 25, 9, 1, 16};
final double[] z = {8, -125, 27, 1, 64};
@@ -43,7 +43,7 @@ class SortInPlaceTest {
}
@Test
- public void testDescending() {
+ void testDescending() {
final double[] x = {2, 5, -3, 1, 4};
final double[] y = {4, 25, 9, 1, 16};
final double[] z = {8, -125, 27, 1, 64};
@@ -61,7 +61,7 @@ class SortInPlaceTest {
// Example in Javadoc.
@Test
- public void testJavadocExample() {
+ void testJavadocExample() {
final double[] x = {3, 1, 2};
final double[] y = {1, 2, 3};
final double[] z = {0, 5, 7};
@@ -78,7 +78,7 @@ class SortInPlaceTest {
}
@Test
- public void testPreconditions() {
+ void testPreconditions() {
final double[] nullArray = null;
final double[] one = {1};
final double[] two = {1, 2};
diff --git
a/commons-numbers-core/src/test/java/org/apache/commons/numbers/core/SumTest.java
b/commons-numbers-core/src/test/java/org/apache/commons/numbers/core/SumTest.java
index 5d38260..19faaa3 100644
---
a/commons-numbers-core/src/test/java/org/apache/commons/numbers/core/SumTest.java
+++
b/commons-numbers-core/src/test/java/org/apache/commons/numbers/core/SumTest.java
@@ -425,7 +425,7 @@ class SumTest {
}
@Test
- public void testUnityValuesInProduct() {
+ void testUnityValuesInProduct() {
// arrange
final double a = 9.999999999;
final double b = Math.scalb(a, -53);