Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,988 for expectGet (0.3 sec)

  1. android/guava-tests/test/com/google/common/math/DoubleMathTest.java

          for (RoundingMode mode : ALL_SAFE_ROUNDING_MODES) {
            BigDecimal expected = new BigDecimal(d).setScale(0, mode);
            boolean isInBounds =
                expected.compareTo(MAX_INT_AS_BIG_DECIMAL) <= 0
                    & expected.compareTo(MIN_INT_AS_BIG_DECIMAL) >= 0;
    
            try {
              assertEquals(expected.intValue(), DoubleMath.roundToInt(d, mode));
              assertTrue(isInBounds);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 07 17:50:39 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tensorflow/utils/cluster_util_test.cc

      constexpr StringRef kTarget0 = "tpu0";
      EXPECT_EQ(clusters.count(kTarget0), 1);
      EXPECT_EQ(clusters[kTarget0].size(), 1);
      EXPECT_EQ(clusters[kTarget0][0].ops.size(), 2);
    
      constexpr StringRef kTarget1 = "tpu1";
      EXPECT_EQ(clusters.count(kTarget1), 1);
      EXPECT_EQ(clusters[kTarget1].size(), 1);
      EXPECT_EQ(clusters[kTarget1][0].ops.size(), 2);
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Apr 26 09:37:10 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. pkg/util/filesystem/util_test.go

    	type Case struct {
    		path     string
    		expected bool
    	}
    
    	// Credits https://github.com/kubernetes/kubernetes/pull/124084/files#r1557566941
    	cases := []Case{
    		{path: "/logs", expected: true},
    		{path: "/var/lib/something", expected: true},
    		{path: "var/lib/something", expected: true},
    		{path: "var\\lib\\something", expected: true},
    		{path: "/", expected: true},
    		{path: ".", expected: true},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 10 17:13:59 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  4. maven-di/src/test/java/org/apache/maven/di/impl/TypeUtilsTest.java

                Type expected = new Key<Set<Integer>>() {}.getType();
                assertEquals(expected, simplifyType(type));
            }
    
            {
                Type type = new Key<Set<? extends Set<? extends Set<? extends Integer>>>>() {}.getType();
                Type expected = new Key<Set<Set<Set<Integer>>>>() {}.getType();
                assertEquals(expected, simplifyType(type));
            }
    
            {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Feb 09 17:13:31 UTC 2024
    - 7K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/constants/constants_test.go

    			manifestsDir:  "/etc/bar/",
    			expected:      "/etc/bar/foo.yaml",
    		},
    	}
    	for _, rt := range tests {
    		t.Run(rt.componentName, func(t *testing.T) {
    			actual := GetStaticPodFilepath(rt.componentName, rt.manifestsDir)
    			expected := filepath.FromSlash(rt.expected)
    			if actual != expected {
    				t.Errorf(
    					"failed GetStaticPodFilepath:\n\texpected: %s\n\t  actual: %s",
    					rt.expected,
    					actual,
    				)
    			}
    		})
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 03:26:36 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/util/marshal_test.go

    	if pod2.Name != pod.Name {
    		t.Errorf("expected %q, got %q", pod.Name, pod2.Name)
    	}
    
    	if pod2.Namespace != pod.Namespace {
    		t.Errorf("expected %q, got %q", pod.Namespace, pod2.Namespace)
    	}
    
    	if !reflect.DeepEqual(pod2.Labels, pod.Labels) {
    		t.Errorf("expected %v, got %v", pod.Labels, pod2.Labels)
    	}
    
    	if pod2.Spec.RestartPolicy != pod.Spec.RestartPolicy {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/increase_dynamism_for_auto_jit_pass_test.cc

          result.get(),
          "slice_with_slice_input/static_shaped_slice/static_shaped_slice");
      ASSERT_NE(static_shaped_slice, nullptr);
      EXPECT_EQ(static_shaped_slice->output_type(0), DT_FLOAT)
          << "Expected DT_FLOAT, was "
          << DataType_Name(static_shaped_slice->output_type(0));
      EXPECT_THAT(
          static_shaped_slice,
          NodeWith(
              Op("Slice"),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 22 08:47:20 UTC 2024
    - 18.3K bytes
    - Viewed (0)
  8. pkg/kubelet/cm/helpers_linux_test.go

    		}
    		if !reflect.DeepEqual(actual.CPUQuota, testCase.expected.CPUQuota) {
    			t.Errorf("unexpected result, test: %v, cpu quota not as expected. Expected: %v, Actual:%v", testName, *testCase.expected.CPUQuota, *actual.CPUQuota)
    		}
    		if !reflect.DeepEqual(actual.CPUShares, testCase.expected.CPUShares) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/util/KuromojiCSVUtilTest.java

            value = "Fess,フェス";
            expected = Arrays.asList("Fess", "フェス");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = "\"Fess,FESS\"";
            expected = Arrays.asList("\"Fess,FESS\"");
            actual = Arrays.asList(KuromojiCSVUtil.parse(value));
            assertThat(actual, is(expected));
    
            value = " ";
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. pkg/kubelet/kuberuntime/labels_test.go

    	containerInfo := getContainerInfoFromAnnotations(annotations)
    	if !reflect.DeepEqual(containerInfo, expected) {
    		t.Errorf("expected %v, got %v", expected, containerInfo)
    	}
    	if v, ok := annotations[opts.Annotations[0].Name]; !ok || v != opts.Annotations[0].Value {
    		t.Errorf("expected annotation %s to exist got %v, %v", opts.Annotations[0].Name, ok, v)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 22:43:36 UTC 2024
    - 7.3K bytes
    - Viewed (0)
Back to top