Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for testConstructor_negativeValue (0.68 seconds)

  1. src/test/java/jcifs/dcerpc/ndr/NdrSmallTest.java

            // Test with zero value
            NdrSmall ndrSmall = new NdrSmall(0);
            assertEquals(0, ndrSmall.value, "Value should be initialized correctly for zero.");
        }
    
        @Test
        void testConstructor_negativeValue() {
            // Test with a negative value, expecting it to be masked to a positive byte
            NdrSmall ndrSmall = new NdrSmall(-1); // -1 & 0xFF = 255
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.2K bytes
    - Click Count (0)
Back to Top