assertIsArray($result); } public function testGetConversionGroupUnits() { $result = Engineering::getConversionGroupUnits(); $this->assertIsArray($result); } public function testGetConversionGroupUnitDetails() { $result = Engineering::getConversionGroupUnitDetails(); $this->assertIsArray($result); } public function testGetConversionMultipliers() { $result = Engineering::getConversionMultipliers(); $this->assertIsArray($result); } /** * @dataProvider providerCONVERTUOM * * @param mixed $expectedResult */ public function testCONVERTUOM($expectedResult, ...$args) { $result = Engineering::CONVERTUOM(...$args); $this->assertEquals($expectedResult, $result); } public function providerCONVERTUOM() { return require 'tests/data/Calculation/Engineering/CONVERTUOM.php'; } }