public function testToString() { $quote = new Lisphp_Quote(Lisphp_Symbol::get('abc')); $this->assertEquals(':abc', $quote->__toString()); $quote = new Lisphp_Quote(new Lisphp_List(array(Lisphp_Symbol::get('define'), Lisphp_Symbol::get('pi'), new Lisphp_Literal(3.14)))); $this->assertEquals(':(define pi 3.14)', $quote->__toString()); }
public function testToString() { $this->markTestIncomplete('Somebody please debug this, I have no clue what is going on.'); // todo $quote = new Lisphp_Quote(Lisphp_Symbol::get('abc')); $this->assertEquals(':abc', $quote->__toString()); $quote = new Lisphp_Quote(new Lisphp_List(array(Lisphp_Symbol::get('define'), Lisphp_Symbol::get('pi'), new Lisphp_Literal(3.14)))); $this->assertEquals(':(define pi 3.14)', $quote->__toString()); }