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 2018/03/14 12:21:00 UTC
commons-numbers git commit: NUMBERS-63: removed sqrt1z() tests as
method is now private.
Repository: commons-numbers
Updated Branches:
refs/heads/master 553e49dd3 -> 405f40f23
NUMBERS-63: removed sqrt1z() tests as method is now private.
Project: http://git-wip-us.apache.org/repos/asf/commons-numbers/repo
Commit: http://git-wip-us.apache.org/repos/asf/commons-numbers/commit/405f40f2
Tree: http://git-wip-us.apache.org/repos/asf/commons-numbers/tree/405f40f2
Diff: http://git-wip-us.apache.org/repos/asf/commons-numbers/diff/405f40f2
Branch: refs/heads/master
Commit: 405f40f232faa1e248704f797e647f789958bfbb
Parents: 553e49d
Author: Eric Barnhill <er...@apache.org>
Authored: Wed Mar 14 13:23:34 2018 +0100
Committer: Eric Barnhill <er...@apache.org>
Committed: Wed Mar 14 13:23:34 2018 +0100
----------------------------------------------------------------------
.../org/apache/commons/numbers/complex/ComplexTest.java | 12 ------------
1 file changed, 12 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/commons-numbers/blob/405f40f2/commons-numbers-complex/src/test/java/org/apache/commons/numbers/complex/ComplexTest.java
----------------------------------------------------------------------
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 94f8c91..0a5d3f5 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
@@ -606,18 +606,6 @@ public class ComplexTest {
}
}
- @Test
- public void testSqrt1z() {
- Complex z = Complex.ofCartesian(3, 4);
- Complex expected = Complex.ofCartesian(4.08033, -2.94094);
- TestUtils.assertEquals(expected, z.sqrt1z(), 1.0e-5);
- }
-
- @Test
- public void testSqrt1zNaN() {
- Assert.assertTrue(NAN.sqrt1z().isNaN());
- }
-
/**
* Test: computing <b>third roots</b> of z.
* <pre>