- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 82 for assertMem (0.3 sec)
-
guava-testlib/src/com/google/common/collect/testing/google/MultimapReplaceValuesTester.java
multimap().replaceValues(k0(), values); assertGet(k0(), values); } @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE, ALLOWS_NULL_KEYS}) public void testReplaceValuesWithNullKey() { List<V> values = Arrays.asList(v0(), v2(), v3()); multimap().replaceValues(null, values); assertGet(null, values); } @MapFeature.Require({SUPPORTS_PUT, SUPPORTS_REMOVE})
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 5.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java
extends AbstractMultimapTester<K, V, ListMultimap<K, V>> { @Override protected void assertGet(K key, V... values) { assertGet(key, Arrays.asList(values)); } @Override protected void assertGet(K key, Collection<? extends V> values) { assertEqualInOrder(values, multimap().get(key)); if (!values.isEmpty()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java
resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0())); List<V> expectedValues = copyToList(values); multimap().get(k0()).remove(i); expectedValues.remove(i); assertGet(k0(), expectedValues); } } @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL) public void testRemoveAtIndexFromAsMapPropagates() { List<V> values = Arrays.asList(v0(), v1(), v0());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 3.6K bytes - Viewed (0) -
tensorflow/c/experimental/gradients/custom_gradient_test.cc
Status s = BuildImmediateExecutionContext(std::get<1>(GetParam()), &ctx_raw); ASSERT_EQ(errors::OK, s.code()) << s.message(); ctx.reset(ctx_raw); } AbstractTensorHandlePtr x; { AbstractTensorHandle* x_raw = nullptr; Status s = TestScalarTensorHandle<float, TF_FLOAT>(ctx.get(), 1.0f, &x_raw); ASSERT_EQ(errors::OK, s.code()) << s.message(); x.reset(x_raw); } // Pseudo-code:
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Feb 28 13:53:47 UTC 2024 - 4.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java
resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0())); List<V> expectedValues = copyToList(values); multimap().get(k0()).remove(i); expectedValues.remove(i); assertGet(k0(), expectedValues); } } @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL) public void testRemoveAtIndexFromAsMapPropagates() { List<V> values = Arrays.asList(v0(), v1(), v0());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 3.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java
/** * @see AbstractContainerTester#resetContainer() */ protected void resetCollection() { resetContainer(); } protected void assertGet(K key, V... values) { assertGet(key, Arrays.asList(values)); } protected void assertGet(K key, Collection<? extends V> values) { assertEqualIgnoringOrder(values, multimap().get(key)); if (!values.isEmpty()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 6K bytes - Viewed (0) -
testing/performance/src/templates/native-dependents/test_main.cpp
#include "gtest/gtest.h" #include "${generatedId}/header.h" using namespace testing; <% if (hasTests) { out.println """ TEST(GeneratedTests, test_lib) { ASSERT_EQ(0, function_${generatedId}()); }""" } %> int main(int argc, char **argv) { testing::InitGoogleTest(&argc, argv); return RUN_ALL_TESTS();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 316 bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/tpu_rewrite_device_util_test.cc
EXPECT_EQ(xla_device_assignment->computation_count(), 2); ASSERT_EQ(xla_device_assignment->computation_devices_size(), 2); const auto& computation_device_0 = xla_device_assignment->computation_devices(0); ASSERT_EQ(computation_device_0.replica_device_ids_size(), 4); const auto& computation_device_1 = xla_device_assignment->computation_devices(1); ASSERT_EQ(computation_device_1.replica_device_ids_size(), 4);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Apr 26 09:37:10 UTC 2024 - 46.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java
/** * @see AbstractContainerTester#resetContainer() */ protected void resetCollection() { resetContainer(); } protected void assertGet(K key, V... values) { assertGet(key, Arrays.asList(values)); } protected void assertGet(K key, Collection<? extends V> values) { assertEqualIgnoringOrder(values, multimap().get(key)); if (!values.isEmpty()) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 6K bytes - Viewed (0) -
testing/internal-integ-testing/src/main/groovy/org/gradle/test/fixtures/server/ServerExpectation.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package org.gradle.test.fixtures.server interface ServerExpectation { void assertMet()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 711 bytes - Viewed (0)