Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 511 for actual (0.24 sec)

  1. guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        byte[] actual = new byte[12];
        in.readFully(actual);
        assertEquals('r', actual[0]);
        assertEquals(0, actual[1]);
        assertEquals((byte) 0xC9, actual[2]);
        assertEquals(0, actual[3]);
        assertEquals('s', actual[4]);
        assertEquals(0, actual[5]);
        assertEquals('u', actual[6]);
        assertEquals(0, actual[7]);
        assertEquals('m', actual[8]);
        assertEquals(0, actual[9]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/LittleEndianDataOutputStreamTest.java

        byte[] actual = new byte[12];
        in.readFully(actual);
        assertEquals('r', actual[0]);
        assertEquals(0, actual[1]);
        assertEquals((byte) 0xC9, actual[2]);
        assertEquals(0, actual[3]);
        assertEquals('s', actual[4]);
        assertEquals(0, actual[5]);
        assertEquals('u', actual[6]);
        assertEquals(0, actual[7]);
        assertEquals('m', actual[8]);
        assertEquals(0, actual[9]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/testers/ListToArrayTester.java

      public void testToArray_noArg() {
        Object[] actual = getList().toArray();
        assertArrayEquals("toArray() order should match list", createOrderedArray(), actual);
      }
    
      @CollectionSize.Require(absent = ZERO)
      public void testToArray_tooSmall() {
        Object[] actual = getList().toArray(new Object[0]);
        assertArrayEquals("toArray(tooSmall) order should match list", createOrderedArray(), actual);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. callbacks/helper_test.go

    				Values:  [][]interface{}{{true}},
    			},
    		},
    	}
    
    	for _, tc := range testCase {
    		t.Run(tc.name, func(t *testing.T) {
    			actual := ConvertMapToValuesForCreate(&gorm.Statement{}, tc.input)
    			if !reflect.DeepEqual(actual, tc.expect) {
    				t.Errorf("expect %v got %v", tc.expect, actual)
    			}
    		})
    	}
    }
    
    func TestConvertSliceOfMapToValuesForCreate(t *testing.T) {
    	testCase := []struct {
    		name   string
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Mar 05 02:22:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java

            Model assembled = assembler.assembleModelInheritance(child, parent, null, problems);
    
            // write baseName + "-actual"
            File actual = new File(
                    "target/test-classes/poms/inheritance/" + baseName + (fromRepo ? "-build" : "-repo") + "-actual.xml");
            writer.write(actual, null, assembled);
    
            // check with getPom( baseName + "-expected" )
            File expected = getPom(baseName + "-expected");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/CommandExtractorTest.java

            String expected;
            String actual;
            String value;
    
            value = "hoge.txt";
            expected = "hoge.txt";
            actual = extractor.getFileName(value);
            assertEquals(expected, actual);
    
            value = "/hoge.txt";
            expected = "hoge.txt";
            actual = extractor.getFileName(value);
            assertEquals(expected, actual);
    
            value = "fuga/hoge.txt";
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            List<String> expected;
            List<String> actual;
    
            value = "フェス";
            expected = Arrays.asList("フェス");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = "フェス,Fess";
            expected = Arrays.asList("フェス", "Fess");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = "Fess,フェス";
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

                    return true;
                }
                if (formal == Double.TYPE
                        && (actual == Float.TYPE
                                || actual == Long.TYPE
                                || actual == Integer.TYPE
                                || actual == Short.TYPE
                                || actual == Byte.TYPE)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        if (actual instanceof Collection) {
          contained = ((Collection<?>) actual).contains(expected);
        } else {
          for (Object o : actual) {
            if (equal(o, expected)) {
              contained = true;
              break;
            }
          }
        }
    
        if (!contained) {
          fail("Not true that " + actual + " contains " + expected);
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/hash/Crc32cHashFunctionTest.java

            crc = ((crc >>> 1) ^ (CRC32C_GENERATOR_FLIPPED & mask));
          }
          expected[i] = crc;
        }
    
        int[] actual = Crc32cHashFunction.Crc32cHasher.BYTE_TABLE;
        assertTrue(
            "Expected: \n" + Arrays.toString(expected) + "\nActual:\n" + Arrays.toString(actual),
            Arrays.equals(expected, actual));
      }
    
      static int advanceOneBit(int next) {
        if ((next & 1) != 0) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top