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