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