You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by ah...@apache.org on 2019/12/06 18:28:59 UTC

[commons-numbers] 05/19: Remove redundant disabled test.

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

commit 4f61050469d540dd67cd48f5b6b1e6fc5e7399e0
Author: aherbert <ah...@apache.org>
AuthorDate: Fri Dec 6 13:09:47 2019 +0000

    Remove redundant disabled test.
---
 .../test/java/org/apache/commons/numbers/complex/ComplexTest.java | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java b/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java
index b62a649..fdd0b68 100644
--- a/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java
+++ b/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java
@@ -1294,14 +1294,6 @@ public class ComplexTest {
     }
 
     @Test
-    @Disabled("Required if not implemented in terms of tanh")
-    public void testTan() {
-        // Check the conditions on the imaginary component that create special results.
-        TestUtils.assertEquals(Complex.ONE, Complex.ofCartesian(0, 25).tan(), 0);
-        TestUtils.assertEquals(Complex.ofCartesian(0, -1), Complex.ofCartesian(0, -25).tan(), 0);
-    }
-
-    @Test
     public void testAtanhEdgeConditions() {
         // Hits the edge case when imaginary == 0 but real != 0 or 1
         final Complex c = Complex.ofCartesian(2, 0).atanh();