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