[ 
https://issues.apache.org/jira/browse/PDFBOX-1980?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14178844#comment-14178844
 ] 

ASF subversion and git services commented on PDFBOX-1980:
---------------------------------------------------------

Commit 1633434 from [~tilman] in branch 'pdfbox/trunk'
[ https://svn.apache.org/r1633434 ]

PDFBOX-1980: refactored, added deterministic / non-deterministic test; make it 
easier to add corner cases in the future

> TestCOSFloat is non-deterministic
> ---------------------------------
>
>                 Key: PDFBOX-1980
>                 URL: https://issues.apache.org/jira/browse/PDFBOX-1980
>             Project: PDFBox
>          Issue Type: Bug
>    Affects Versions: 2.0.0
>            Reporter: John Hewson
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> TestCOSFloat generates random numbers for testing which means that it is 
> non-deterministic.
> Testing COSFloat on random data doesn't achieve much, because we know what 
> numbers look like. Even taking into account the discussion in PDFBOX-1977, I 
> suggest that it would be better to create a set of representative data with 
> interesting edge-cases.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to