You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by er...@apache.org on 2020/01/05 01:39:40 UTC

[commons-math] branch master updated: Test method was missing "@Test" annotation.

This is an automated email from the ASF dual-hosted git repository.

erans pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-math.git


The following commit(s) were added to refs/heads/master by this push:
     new d317c65  Test method was missing "@Test" annotation.
d317c65 is described below

commit d317c6509d1be6d1711d4889e95d5471c87e22df
Author: Gilles Sadowski <gi...@harfang.homelinux.org>
AuthorDate: Sun Jan 5 02:37:39 2020 +0100

    Test method was missing "@Test" annotation.
    
    Thanks to Yu Liu for spotting it.
---
 .../math4/analysis/interpolation/TricubicInterpolatorTest.java       | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicInterpolatorTest.java b/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicInterpolatorTest.java
index 8c9c579..d956d15 100644
--- a/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicInterpolatorTest.java
+++ b/src/test/java/org/apache/commons/math4/analysis/interpolation/TricubicInterpolatorTest.java
@@ -84,6 +84,7 @@ public final class TricubicInterpolatorTest {
         }
     }
 
+    @Test
     public void testIsValid() {
         double[] xval = new double[] {3, 4, 5, 6.5};
         double[] yval = new double[] {-4, -3, -1, 2.5};
@@ -105,9 +106,9 @@ public final class TricubicInterpolatorTest {
         // Invalid.
         Assert.assertFalse(tcf.isValidPoint(3.5, -3, -8));
         Assert.assertFalse(tcf.isValidPoint(4.5, -3.1, -8));
-        Assert.assertFalse(tcf.isValidPoint(4.5, -2, 0));
+        Assert.assertFalse(tcf.isValidPoint(4.5, -2, 0.1));
         Assert.assertFalse(tcf.isValidPoint(4.5, 0, -3.5));
-        Assert.assertFalse(tcf.isValidPoint(-10, 4.1, -1));
+        Assert.assertFalse(tcf.isValidPoint(4.1, -1, -10));
     }
 
     /**