Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for shouldBeValidFlagPowersOfTwo (0.11 sec)

  1. src/test/java/jcifs/ACETest.java

                    ACE.FLAGS_INHERITED })
            @DisplayName("Flag constants should be powers of 2")
            void shouldBeValidFlagPowersOfTwo(int flag) {
                assertTrue(flag > 0, "Flag should be positive");
                assertEquals(0, flag & (flag - 1), "Flag should be power of 2: " + Integer.toHexString(flag));
            }
    
            @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.4K bytes
    - Viewed (0)
Back to top