Return-Path: Delivered-To: apmail-commons-commits-archive@locus.apache.org Received: (qmail 42752 invoked from network); 26 Oct 2007 14:13:40 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Oct 2007 14:13:40 -0000 Received: (qmail 54863 invoked by uid 500); 26 Oct 2007 14:13:26 -0000 Delivered-To: apmail-commons-commits-archive@commons.apache.org Received: (qmail 54799 invoked by uid 500); 26 Oct 2007 14:13:26 -0000 Mailing-List: contact commits-help@commons.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@commons.apache.org Delivered-To: mailing list commits@commons.apache.org Received: (qmail 54790 invoked by uid 99); 26 Oct 2007 14:13:26 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 07:13:26 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 26 Oct 2007 14:13:38 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1D9A81A9832; Fri, 26 Oct 2007 07:13:15 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r588655 - /commons/proper/math/trunk/src/test/org/apache/commons/math/ode/ Date: Fri, 26 Oct 2007 14:13:14 -0000 To: commits@commons.apache.org From: luc@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071026141315.1D9A81A9832@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: luc Date: Fri Oct 26 07:13:13 2007 New Revision: 588655 URL: http://svn.apache.org/viewvc?rev=588655&view=rev Log: improved test coverage Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/ClassicalRungeKuttaIntegratorTest.java commons/proper/math/trunk/src/test/org/apache/commons/math/ode/DormandPrince54IntegratorTest.java commons/proper/math/trunk/src/test/org/apache/commons/math/ode/DormandPrince853IntegratorTest.java commons/proper/math/trunk/src/test/org/apache/commons/math/ode/EulerIntegratorTest.java commons/proper/math/trunk/src/test/org/apache/commons/math/ode/GillIntegratorTest.java commons/proper/math/trunk/src/test/org/apache/commons/math/ode/GraggBulirschStoerIntegratorTest.java commons/proper/math/trunk/src/test/org/apache/commons/math/ode/HighamHall54IntegratorTest.java commons/proper/math/trunk/src/test/org/apache/commons/math/ode/MidpointIntegratorTest.java commons/proper/math/trunk/src/test/org/apache/commons/math/ode/ThreeEighthesIntegratorTest.java Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/ClassicalRungeKuttaIntegratorTest.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/ode/ClassicalRungeKuttaIntegratorTest.java?rev=588655&r1=588654&r2=588655&view=diff ============================================================================== --- commons/proper/math/trunk/src/test/org/apache/commons/math/ode/ClassicalRungeKuttaIntegratorTest.java (original) +++ commons/proper/math/trunk/src/test/org/apache/commons/math/ode/ClassicalRungeKuttaIntegratorTest.java Fri Oct 26 07:13:13 2007 @@ -116,7 +116,7 @@ assertTrue(handler.getLastError() < 2.0e-13); assertTrue(handler.getMaximalError() < 4.0e-12); - + assertEquals("classical Runge-Kutta", integ.getName()); } public void testBigStep() Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/DormandPrince54IntegratorTest.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/ode/DormandPrince54IntegratorTest.java?rev=588655&r1=588654&r2=588655&view=diff ============================================================================== --- commons/proper/math/trunk/src/test/org/apache/commons/math/ode/DormandPrince54IntegratorTest.java (original) +++ commons/proper/math/trunk/src/test/org/apache/commons/math/ode/DormandPrince54IntegratorTest.java Fri Oct 26 07:13:13 2007 @@ -97,6 +97,7 @@ pb.getInitialTime(), pb.getInitialState(), pb.getFinalTime(), new double[pb.getDimension()]); assertTrue(handler.wasLastSeen()); + assertEquals("Dormand-Prince 5(4)", integ.getName()); } Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/DormandPrince853IntegratorTest.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/ode/DormandPrince853IntegratorTest.java?rev=588655&r1=588654&r2=588655&view=diff ============================================================================== --- commons/proper/math/trunk/src/test/org/apache/commons/math/ode/DormandPrince853IntegratorTest.java (original) +++ commons/proper/math/trunk/src/test/org/apache/commons/math/ode/DormandPrince853IntegratorTest.java Fri Oct 26 07:13:13 2007 @@ -189,6 +189,7 @@ integ.integrate(pb, pb.getInitialTime(), pb.getInitialState(), pb.getFinalTime(), new double[pb.getDimension()]); + assertEquals("Dormand-Prince 8 (5, 3)", integ.getName()); } public void testNoDenseOutput() Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/EulerIntegratorTest.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/ode/EulerIntegratorTest.java?rev=588655&r1=588654&r2=588655&view=diff ============================================================================== --- commons/proper/math/trunk/src/test/org/apache/commons/math/ode/EulerIntegratorTest.java (original) +++ commons/proper/math/trunk/src/test/org/apache/commons/math/ode/EulerIntegratorTest.java Fri Oct 26 07:13:13 2007 @@ -97,6 +97,7 @@ assertTrue(handler.getLastError() < 2.0e-4); assertTrue(handler.getMaximalError() < 1.0e-3); + assertEquals("Euler", integ.getName()); } Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/GillIntegratorTest.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/ode/GillIntegratorTest.java?rev=588655&r1=588654&r2=588655&view=diff ============================================================================== --- commons/proper/math/trunk/src/test/org/apache/commons/math/ode/GillIntegratorTest.java (original) +++ commons/proper/math/trunk/src/test/org/apache/commons/math/ode/GillIntegratorTest.java Fri Oct 26 07:13:13 2007 @@ -96,6 +96,7 @@ assertTrue(handler.getLastError() < 2.0e-13); assertTrue(handler.getMaximalError() < 4.0e-12); + assertEquals("Gill", integ.getName()); } Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/GraggBulirschStoerIntegratorTest.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/ode/GraggBulirschStoerIntegratorTest.java?rev=588655&r1=588654&r2=588655&view=diff ============================================================================== --- commons/proper/math/trunk/src/test/org/apache/commons/math/ode/GraggBulirschStoerIntegratorTest.java (original) +++ commons/proper/math/trunk/src/test/org/apache/commons/math/ode/GraggBulirschStoerIntegratorTest.java Fri Oct 26 07:13:13 2007 @@ -189,6 +189,7 @@ integ.integrate(pb, pb.getInitialTime(), pb.getInitialState(), pb.getFinalTime(), new double[pb.getDimension()]); + assertEquals("Gragg-Bulirsch-Stoer", integ.getName()); } public void testUnstableDerivative() Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/HighamHall54IntegratorTest.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/ode/HighamHall54IntegratorTest.java?rev=588655&r1=588654&r2=588655&view=diff ============================================================================== --- commons/proper/math/trunk/src/test/org/apache/commons/math/ode/HighamHall54IntegratorTest.java (original) +++ commons/proper/math/trunk/src/test/org/apache/commons/math/ode/HighamHall54IntegratorTest.java Fri Oct 26 07:13:13 2007 @@ -236,6 +236,7 @@ integ.integrate(pb, pb.getInitialTime(), pb.getInitialState(), pb.getFinalTime(), new double[pb.getDimension()]); + assertEquals("Higham-Hall 5(4)", integ.getName()); } private static class KeplerHandler implements StepHandler { Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/MidpointIntegratorTest.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/ode/MidpointIntegratorTest.java?rev=588655&r1=588654&r2=588655&view=diff ============================================================================== --- commons/proper/math/trunk/src/test/org/apache/commons/math/ode/MidpointIntegratorTest.java (original) +++ commons/proper/math/trunk/src/test/org/apache/commons/math/ode/MidpointIntegratorTest.java Fri Oct 26 07:13:13 2007 @@ -95,6 +95,7 @@ assertTrue(handler.getLastError() < 2.0e-7); assertTrue(handler.getMaximalError() < 1.0e-6); + assertEquals("midpoint", integ.getName()); } Modified: commons/proper/math/trunk/src/test/org/apache/commons/math/ode/ThreeEighthesIntegratorTest.java URL: http://svn.apache.org/viewvc/commons/proper/math/trunk/src/test/org/apache/commons/math/ode/ThreeEighthesIntegratorTest.java?rev=588655&r1=588654&r2=588655&view=diff ============================================================================== --- commons/proper/math/trunk/src/test/org/apache/commons/math/ode/ThreeEighthesIntegratorTest.java (original) +++ commons/proper/math/trunk/src/test/org/apache/commons/math/ode/ThreeEighthesIntegratorTest.java Fri Oct 26 07:13:13 2007 @@ -96,6 +96,7 @@ assertTrue(handler.getLastError() < 2.0e-13); assertTrue(handler.getMaximalError() < 4.0e-12); + assertEquals("3/8", integ.getName()); }