assertEquals('$ a+b $', $real
, "Rendering of a+b in plain Text mode");
}
/**
* Checks if newlines are converted to spaces correctly.
*/
public function testNewLines(){
$real=MathRenderer::renderMath("a\n b",array(),MW_MATH_SOURCE);
$this->assertSame('$ a b $', $real
, "converting newlines to spaces");
}
}