/** * @dataProvider dataProviderForMultiply */ public function testMultiply(array $xs, $k, array $products) { $this->assertEquals($products, Single::multiply($xs, $k)); }
/** * @dataProvider dataProviderForMultiply */ public function testMultiply(array $xs, $k, array $products) { $this->assertEquals($products, Single::multiply($xs, $k)); }