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