Permalink
Browse files

Fixed PHPUnit 3.4 compatibility

  • Loading branch information...
1 parent 23d12cb commit 9c0e55ac9051dd1851f33e57061075f45415cee5 @CloCkWeRX CloCkWeRX committed Feb 12, 2010
View
3 tests/AllTests.php
@@ -14,7 +14,6 @@
define('PHPUnit_MAIN_METHOD', 'Math_Numerical_RootFinding_AllTests::main');
}
-require_once 'PHPUnit/Framework/TestSuite.php';
require_once 'PHPUnit/TextUI/TestRunner.php';
require_once 'GeneralTest.php';
@@ -51,4 +50,4 @@ public static function suite()
if (PHPUnit_MAIN_METHOD == 'Math_Numerical_RootFinding_AllTests::main') {
Math_Numerical_RootFinding_AllTests::main();
-}
+}
View
2 tests/GeneralTest.php
@@ -72,4 +72,4 @@ public function testSetOptions()
$this->assertFalse($o->get('divergent_skip'));
}
}
-?>
+?>
View
2 tests/Method/BisectionTest.php
@@ -56,4 +56,4 @@ public static function Fx($x)
return pow(M_E, -$x) - $x;
}
}
-?>
+?>
View
2 tests/Method/FalsePositionTest.php
@@ -56,4 +56,4 @@ public static function Fx($x)
return pow(M_E, -$x) - $x;
}
}
-?>
+?>
View
2 tests/Method/FixedPointTest.php
@@ -57,4 +57,4 @@ public static function Gx($x)
return pow(M_E, -$x);
}
}
-?>
+?>
View
2 tests/Method/NewtonRaphson2Test.php
@@ -66,4 +66,4 @@ public static function D2x($x)
return 6 * $x - 10;
}
}
-?>
+?>
View
2 tests/Method/NewtonRaphsonTest.php
@@ -61,4 +61,4 @@ public static function Dx($x)
return -pow(M_E, -$x) - 1;
}
}
-?>
+?>
View
2 tests/Method/RalstonRabinowitzTest.php
@@ -61,4 +61,4 @@ public static function Dx($x)
return 3 * pow($x, 2) - (10 * $x) + 7;
}
}
-?>
+?>
View
2 tests/Method/SecantTest.php
@@ -56,4 +56,4 @@ public static function Fx($x)
return pow(M_E, -$x) - $x;
}
}
-?>
+?>

0 comments on commit 9c0e55a

Please sign in to comment.