Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for L1212 (0.06 sec)

  1. tests/hooks_test.go

    	if product.Price != 150 || product.Code != "L1212" {
    		t.Errorf("invalid data after update, got %+v", product)
    	}
    
    	// Code not changed, price should not change
    	DB.Model(&product).Updates(map[string]interface{}{"Name": "Product New"})
    
    	if product.Name != "Product New" || product.Price != 160 || product.Code != "L1212" {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:59:06 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(graph.removeEdge(2, 3)).isNull();
      }
    
      @Test
      public void removeEdge_directed_orderMismatch() {
        graph = ValueGraphBuilder.directed().build();
        graph.putEdgeValue(1, 2, "1->2");
        graph.putEdgeValue(2, 1, "2->1");
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class, () -> graph.removeEdge(EndpointPair.unordered(1, 2)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 17.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/ValueGraphTest.java

        assertThat(graph.removeEdge(2, 3)).isNull();
      }
    
      @Test
      public void removeEdge_directed_orderMismatch() {
        graph = ValueGraphBuilder.directed().build();
        graph.putEdgeValue(1, 2, "1->2");
        graph.putEdgeValue(2, 1, "2->1");
        IllegalArgumentException e =
            assertThrows(
                IllegalArgumentException.class, () -> graph.removeEdge(EndpointPair.unordered(1, 2)));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 06 18:35:19 UTC 2024
    - 20K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/collection/ArrayUtilTest.java

            assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1", "1" }, new Object[] { "1", "2" }), is(not(true)));
            assertThat(ArrayUtil.equalsIgnoreSequence(new Object[] { "1", "2", "1", "2" }, new Object[] { "2", "2", "1", "1" }), is(true));
    
            assertThat(ArrayUtil.equalsIgnoreSequence(null, null), is(true));
            assertThat(ArrayUtil.equalsIgnoreSequence(null, new Object[] {}), is(not(true)));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/Collections2Test.java

            Collections2.orderedPermutations(list, Ordering.natural()).iterator();
    
        assertNextPermutation(newArrayList(1, 1, 2, 2), permutations);
        assertNextPermutation(newArrayList(1, 2, 1, 2), permutations);
        assertNextPermutation(newArrayList(1, 2, 2, 1), permutations);
        assertNextPermutation(newArrayList(2, 1, 1, 2), permutations);
        assertNextPermutation(newArrayList(2, 1, 2, 1), permutations);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  6. cmd/endpoint-ellipses_test.go

    			true,
    		},
    		{
    			[]string{"data{1...64}"},
    			[]uint64{64},
    			[][]uint64{{16, 16, 16, 16}},
    			true,
    		},
    		{
    			[]string{"data{1...24}"},
    			[]uint64{24},
    			[][]uint64{{12, 12}},
    			true,
    		},
    		{
    			[]string{"data/controller{1...11}/export{1...8}"},
    			[]uint64{88},
    			[][]uint64{{11, 11, 11, 11, 11, 11, 11, 11}},
    			true,
    		},
    		{
    			[]string{"data{1...4}"},
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/BytesTest.java

        testReverse(new byte[] {3, 1, 1}, 0, 2, new byte[] {1, 3, 1});
        testReverse(new byte[] {3, 1, 1}, 0, 1, new byte[] {3, 1, 1});
        testReverse(new byte[] {-1, 1, -2, 2}, 1, 3, new byte[] {-1, -2, 1, 2});
      }
    
      private static void testRotate(byte[] input, int distance, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Bytes.rotate(input, distance);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/primitives/BytesTest.java

        testReverse(new byte[] {3, 1, 1}, 0, 2, new byte[] {1, 3, 1});
        testReverse(new byte[] {3, 1, 1}, 0, 1, new byte[] {3, 1, 1});
        testReverse(new byte[] {-1, 1, -2, 2}, 1, 3, new byte[] {-1, -2, 1, 2});
      }
    
      private static void testRotate(byte[] input, int distance, byte[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Bytes.rotate(input, distance);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

        X1198,
        X1199,
        X1200,
        X1201,
        X1202,
        X1203,
        X1204,
        X1205,
        X1206,
        X1207,
        X1208,
        X1209,
        X1210,
        X1211,
        X1212,
        X1213,
        X1214,
        X1215,
        X1216,
        X1217,
        X1218,
        X1219,
        X1220,
        X1221,
        X1222,
        X1223,
        X1224,
        X1225,
        X1226,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  10. cmd/erasure-object_test.go

    		storageClassCfg     storageclass.Config
    		expectedError       error
    	}{
    		{parts1, errs1, 12, 12, parts1SC, nil},
    		{parts2, errs2, 14, 14, parts2SC, nil},
    		{parts3, errs3, 12, 12, parts3SC, nil},
    		{parts4, errs4, 10, 10, parts4SC, nil},
    		{parts5, errs5, 14, 14, parts5SC, nil},
    		{parts6, errs6, 12, 12, parts6SC, nil},
    		{parts7, errs7, 11, 11, parts7SC, nil},
    	}
    	for _, tt := range tests {
    		tt := tt
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 36.8K bytes
    - Viewed (0)
Back to top