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