Fix unit tests for MDETERM()

This commit is contained in:
Adrien Crivelli 2016-08-25 14:21:52 +09:00
parent 29bdbd4e0b
commit 20ccfa0d59
No known key found for this signature in database
GPG Key ID: B182FD79DC6DE92E
2 changed files with 20 additions and 23 deletions

View File

@ -255,12 +255,9 @@ class MathTrigTest extends \PHPUnit_Framework_TestCase
/** /**
* @dataProvider providerMDETERM * @dataProvider providerMDETERM
* @group fail19
*/ */
public function testMDETERM() public function testMDETERM()
{ {
$this->markTestIncomplete('TODO: This test should be fixed');
$args = func_get_args(); $args = func_get_args();
$expectedResult = array_pop($args); $expectedResult = array_pop($args);
$result = call_user_func_array([MathTrig::class, 'MDETERM'], $args); $result = call_user_func_array([MathTrig::class, 'MDETERM'], $args);

View File

@ -19,27 +19,27 @@ return [
9, 9,
], ],
], ],
6.6613381477509402E-16, 0,
], ],
[ [
[ [
[ [
1.1000000000000001, 1.1,
2.2000000000000002, 2.2,
3.2999999999999998, 3.3,
], ],
[ [
4.4000000000000004, 4.4,
5.5, 5.5,
6.5999999999999996, 6.6,
], ],
[ [
7.7000000000000002, 7.7,
8.8000000000000007, 8.8,
9.9000000000000004, 9.9,
], ],
], ],
1.61204383175573E-15, 0,
], ],
[ [
[ [
@ -59,7 +59,7 @@ return [
90, 90,
], ],
], ],
-4.2632564145606003E-12, 0,
], ],
[ [
[ [
@ -117,30 +117,30 @@ return [
[ [
[ [
[ [
0.20000000000000001, 0.2,
1, 1,
], ],
[ [
0.34999999999999998, 0.35,
10.800000000000001, 10.8,
], ],
], ],
1.8100000000000001, 1.81,
], ],
[ [
[ [
[ [
0.20000000000000001, 0.2,
1, 1,
-0.90000000000000002, -0.9,
], ],
[ [
0.34999999999999998, 0.35,
10.800000000000001, 10.8,
4, 4,
], ],
[ [
-3.1499999999999999, -3.15,
5, 5,
null, null,
], ],