Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.2.0

Bug #17108 BasicGraph::test_directed_degree fails
Submitted: 2010-02-16 16:17 UTC
From: doconnor Assigned: doconnor
Status: Closed Package: Structures_Graph (version CVS)
PHP Version: 5.3.1 OS:
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 35 - 27 = ?

 
 [2010-02-16 16:17 UTC] doconnor (Daniel O'Connor)
Description: ------------ See http://test.pear.php.net/unit-test-results/phpunit_results.txt Actual result: -------------- php -c ../php.ini -f /home/clockwerx/packages-all/Structures_Graph/tests/AllTests.php PHPUnit 3.4.10 by Sebastian Bergmann. ......F. Time: 1 second, Memory: 7.50Mb There was 1 failure: 1) BasicGraph::test_directed_degree inDegree test failed for node 1 with 1 arc Failed asserting that <integer:0> matches expected <integer:1>. /home/clockwerx/packages-all/Structures_Graph/tests/testCase/BasicGraph.php:126 /home/clockwerx/packages-all/Structures_Graph/tests/AllTests.php:86 /home/clockwerx/packages-all/Structures_Graph/tests/AllTests.php:117 FAILURES! Tests: 8, Assertions: 33, Failures: 1.

Comments

 [2010-03-08 19:36 UTC] doconnor (Daniel O'Connor)
How unfortunate. Bug #14307 is similar. Basically, there is much shuffling around of references, which was OK in PHP4, that are now completely semantically different in PHP 5.
 [2010-03-08 19:59 UTC] doconnor (Daniel O'Connor)
-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.