Skip to content

Commit

Permalink
Remove public from test method signatures
Browse files Browse the repository at this point in the history
  • Loading branch information
aherbert committed Jul 9, 2021
1 parent 19d6e28 commit 4457bfd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
*/
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};
Expand All @@ -43,7 +43,7 @@ public void testAscending() {
}

@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};
Expand All @@ -61,7 +61,7 @@ public void testDescending() {

// 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};
Expand All @@ -78,7 +78,7 @@ public void testJavadocExample() {
}

@Test
public void testPreconditions() {
void testPreconditions() {
final double[] nullArray = null;
final double[] one = {1};
final double[] two = {1, 2};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ void testMixedSingleTermAndProduct() {
}

@Test
public void testUnityValuesInProduct() {
void testUnityValuesInProduct() {
// arrange
final double a = 9.999999999;
final double b = Math.scalb(a, -53);
Expand Down

0 comments on commit 4457bfd

Please sign in to comment.