pdfbox-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From til...@apache.org
Subject svn commit: r1645710 - /pdfbox/branches/1.8/pdfbox/src/test/java/org/apache/pdfbox/cos/TestCOSNumber.java
Date Mon, 15 Dec 2014 17:46:20 GMT
Author: tilman
Date: Mon Dec 15 17:46:20 2014
New Revision: 1645710

URL: http://svn.apache.org/r1645710
Log:
PDFBOX-2569: add test for numbers that start with "+"

Modified:
    pdfbox/branches/1.8/pdfbox/src/test/java/org/apache/pdfbox/cos/TestCOSNumber.java

Modified: pdfbox/branches/1.8/pdfbox/src/test/java/org/apache/pdfbox/cos/TestCOSNumber.java
URL: http://svn.apache.org/viewvc/pdfbox/branches/1.8/pdfbox/src/test/java/org/apache/pdfbox/cos/TestCOSNumber.java?rev=1645710&r1=1645709&r2=1645710&view=diff
==============================================================================
--- pdfbox/branches/1.8/pdfbox/src/test/java/org/apache/pdfbox/cos/TestCOSNumber.java (original)
+++ pdfbox/branches/1.8/pdfbox/src/test/java/org/apache/pdfbox/cos/TestCOSNumber.java Mon
Dec 15 17:46:20 2014
@@ -60,6 +60,7 @@ public abstract class TestCOSNumber exte
             assertEquals(COSInteger.get(100), COSNumber.get("100"));
             assertEquals(COSInteger.get(256), COSNumber.get("256"));
             assertEquals(COSInteger.get(-1000), COSNumber.get("-1000"));
+            assertEquals(COSInteger.get(2000), COSNumber.get("+2000"));
             // Some arbitrary floats
             assertEquals(new COSFloat(1.1f), COSNumber.get("1.1"));
             assertEquals(new COSFloat(100f), COSNumber.get("100.0"));



Mime
View raw message