/** * Test for the stdWrap function "round" * * @param float $float * @param array $conf * @param float $expected * @return void * @dataProvider stdWrap_roundDataProvider * @test */ public function stdWrap_round($float, $conf, $expected) { $conf = array('round.' => $conf); $result = $this->cObj->stdWrap_round($float, $conf); $this->assertEquals($expected, $result); }