mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 01:10:08 +02:00
Address Yury's PR comments.
This commit is contained in:
parent
20dace0513
commit
6afb49c6c6
3 changed files with 60 additions and 31 deletions
|
@ -145,7 +145,16 @@ describe('function', function() {
|
|||
// TODO ceiling
|
||||
// TODO copy
|
||||
// TODO cos
|
||||
// TODO cvi
|
||||
it('converts to int', function() {
|
||||
var stack = evaluate('{ 9.9 cvi }');
|
||||
var expectedStack = [9];
|
||||
expect(stack).toMatchArray(expectedStack);
|
||||
});
|
||||
it('converts negatives to int', function() {
|
||||
var stack = evaluate('{ -9.9 cvi }');
|
||||
var expectedStack = [-9];
|
||||
expect(stack).toMatchArray(expectedStack);
|
||||
});
|
||||
// TODO cvr
|
||||
// TODO div
|
||||
it('duplicates', function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue