- Sort Score
- Num 10 results
- Language All
Results 31 - 35 of 35 for expectedResult (0.05 seconds)
-
guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java
for (List<Integer> contents : SAMPLE_INPUTS) { for (int toAdd = 0; toAdd < 10; toAdd++) { boolean expectedResult = createUnfiltered(contents).add(toAdd); C filtered = filter(createUnfiltered(contents), EVEN); try { assertEquals(expectedResult, filtered.add(toAdd)); assertTrue(EVEN.apply(toAdd)); } catch (IllegalArgumentException e) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 13.1K bytes - Click Count (0) -
cmd/object-api-utils_test.go
} for i, test := range testCases { result := getCompleteMultipartMD5(test.parts) if result != test.expectedResult { t.Fatalf("test %d failed: expected: result=%v, got=%v", i+1, test.expectedResult, result) } } } // TestIsMinioBucketName - Tests isMinioBucketName helper function. func TestIsMinioMetaBucketName(t *testing.T) { testCases := []struct {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 24.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/PredicatesTest.java
} private static <T extends @Nullable Object> void assertEvalsLike( Predicate<? super T> expected, Predicate<? super T> actual, T input) { Boolean expectedResult = null; RuntimeException expectedRuntimeException = null; try { expectedResult = expected.apply(input); } catch (RuntimeException e) { expectedRuntimeException = e; } Boolean actualResult = null;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 32.3K bytes - Click Count (0) -
internal/bucket/replication/replication_test.go
} for _, testCase := range testCases { t.Run(testCase.opts.Name, func(t *testing.T) { result := testCase.c.Replicate(testCase.opts) if result != testCase.expectedResult { t.Errorf("expected: %v, got: %v", testCase.expectedResult, result) } }) } } func TestHasActiveRules(t *testing.T) { testCases := []struct { inputConfig string prefix stringCreated: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 32.4K bytes - Click Count (0) -
tensorflow/c/c_api_function_test.cc
TF_DeleteGraph(func_graph_); TF_DeleteStatus(s_); } void Run(const std::vector<std::pair<TF_Operation*, TF_Tensor*>>& inputs, TF_Operation* output, int32_t expected_result) { Run(inputs, {{output, 0}}, {expected_result}); } // Run the host graph, which now contains a function and check that // outputs are as expected. // 'T' stands for 'tensor' since the outputs are tensors, not scalars.
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Mon Nov 17 00:00:38 GMT 2025 - 63.6K bytes - Click Count (1)