From acff968401791a5a1b6b38911248a66308e63c4f Mon Sep 17 00:00:00 2001 From: "physikerwelt (Moritz Schubotz)" Date: Fri, 21 Nov 2014 17:22:48 +0100 Subject: [PATCH] literal test --- test/parser.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/test/parser.js b/test/parser.js index 3045400..ca0b865 100644 --- a/test/parser.js +++ b/test/parser.js @@ -15,4 +15,11 @@ describe('Parse', function() { var p = Parser.parse(e); //console.log(JSON.stringify(e), '->', p.toString()); }); + it('should parse texvc specific functions', function() { + var r = '\\reals', + s = '\\mathbb{R}'; + var p = Parser.parse(r), + q = Parser.parse(s); + assert.equal(p.toString(), q.toString()); + }); });