public function testInitPolynom() { $polynom = new ezcGraphPolynom(); $polynom->init(4); $this->assertEquals(array(0 => 0, 1 => 0, 2 => 0, 3 => 0, 4 => 0), $this->readAttribute($polynom, 'values'), 'Values array not properly initialized.'); }
public function testInitPolynom() { $polynom = new ezcGraphPolynom(); $polynom->init(4); $this->assertEquals(array(0 => 0, 1 => 0, 2 => 0, 3 => 0, 4 => 0), $this->readAttribute($polynom, 'values'), 'Values array not properly initialized.'); }