commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stevencasw...@apache.org
Subject svn commit: r234413 - /jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java
Date Mon, 22 Aug 2005 01:25:33 GMT
Author: stevencaswell
Date: Sun Aug 21 18:25:29 2005
New Revision: 234413

URL: http://svn.apache.org/viewcvs?rev=234413&view=rev
Log:
corrected isAllSet test on zero value

Modified:
    jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java

Modified: jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java?rev=234413&r1=234412&r2=234413&view=diff
==============================================================================
--- jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java (original)
+++ jakarta/commons/proper/lang/trunk/src/test/org/apache/commons/lang/BitFieldTest.java Sun
Aug 21 18:25:29 2005
@@ -123,7 +123,7 @@
     public void testIsAllSet() {
         for (int j = 0; j < 0x3F80; j += 0x80) {
             assertTrue(!bf_multi.isAllSet(j));
-            assertTrue(!bf_zero.isAllSet(j));
+            assertTrue(bf_zero.isAllSet(j));
         }
         assertTrue(bf_multi.isAllSet(0x3F80));
         assertTrue(!bf_single.isAllSet(0));



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message