Commit 49016b30 authored by GoshaZotov's avatar GoshaZotov

add unit-test for ARABIC formula

parent c42d0d11
......@@ -611,6 +611,11 @@ $( function () {
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), Math.atanh(1 / 6) );
} );
test( "Test: \"ARABIC('LVII')\"", function () {
oParser = new parserFormula( 'ARABIC("LVII")', "A1", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), 57 );
} );
test( "Test: \"SUM(1,2,3)\"", function () {
oParser = new parserFormula( 'SUM(1,2,3)', "A1", ws );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment