complexAssert = new ComplexAssert(); } public function tearDown() { $this->complexAssert = null; } /** * @dataProvider providerIMCSCH * * @param mixed $expectedResult * @param mixed $value */ public function testIMCSCH($expectedResult, $value) { $result = Engineering::IMCSCH($value); $this->assertTrue( $this->complexAssert->assertComplexEquals($expectedResult, $result, self::COMPLEX_PRECISION), $this->complexAssert->getErrorMessage() ); } public function providerIMCSCH() { return require 'data/Calculation/Engineering/IMCSCH.php'; } }