/** * This test checks the Flt's add() method. * * @return void */ public function testAdd() { // initialize a new Flt instance $float = new Flt(10.005); $float->add(new Flt(10.105)); // check the value $this->assertEquals(20.11, $float->floatValue()); }