/** * @test * @dataProvider float_copy */ public function check_float_copy(FN $i, $scale) { $copy = $i->copy($scale); $this->assertSame($i->getValue(), $copy->getValue()); $this->assertSame($i->getOrigin(), $copy->getOrigin()); $this->assertEquals($scale, $copy->getScale()); }