Commit f0119321 authored by Dmitry.Shahtanov's avatar Dmitry.Shahtanov Committed by Alexander.Trofimov

поправлены юнит-тесты

git-svn-id: svn://192.168.3.15/activex/AVS/Sources/TeamlabOffice/trunk/OfficeWeb@57878 954022d7-b5bf-4e40-9824-e11837661b57
parent 1c1a265d
......@@ -3642,6 +3642,10 @@
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), 360 );
oParser = new parserFormula( "AMORLINC(2400,DATE(2008,8,19),DATE(2008,12,31),300,1,0.70,1)", "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), 1484 );
} )
test( "Test: \"CUMIPMT\"", function () {
......@@ -5643,7 +5647,7 @@
oParser = new parserFormula( "ERFC(-1)", "A2", ws );
ok( oParser.parse() );
strictEqual( oParser.calculate().getValue(), "#NUM!" );
strictEqual( oParser.calculate().getValue(), 1.8427007929497148 );
})
......
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