- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 76 for test_id (0.35 sec)
-
guava-tests/test/com/google/common/math/BigIntegerMathTest.java
BigInteger halfEven = BigIntegerMath.sqrt(x, HALF_EVEN); // Now figure out what rounding mode we should behave like (it depends if FLOOR was // odd/even). boolean floorWasOdd = BigIntegerMath.sqrt(x, FLOOR).testBit(0); assertEquals(BigIntegerMath.sqrt(x, floorWasOdd ? HALF_UP : HALF_DOWN), halfEven); } } @GwtIncompatible // TODO @AndroidIncompatible // slow public void testDivNonZero() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27K bytes - Viewed (0) -
tests/joins_test.go
ID uint PetID uint Name string } user := *GetUser("joins_with_select", Config{Pets: 2}) DB.Save(&user) var results []result DB.Table("users").Select("users.id, pets.id as pet_id, pets.name").Joins("left join pets on pets.user_id = users.id").Where("users.name = ?", "joins_with_select").Scan(&results) sort.Slice(results, func(i, j int) bool { return results[i].PetID > results[j].PetID })
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Sun May 25 07:40:40 UTC 2025 - 15K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/CharsTest.java
.isEqualTo((char) 9); } public void testMin_noArgs() { assertThrows(IllegalArgumentException.class, () -> min()); } public void testMin() { assertThat(min(LEAST)).isEqualTo(LEAST); assertThat(min(GREATEST)).isEqualTo(GREATEST); assertThat(min((char) 8, (char) 6, (char) 7, (char) 5, (char) 3, (char) 0, (char) 9)) .isEqualTo((char) 0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/DoublesTest.java
assertThat(Double.isNaN(max(VALUES))).isTrue(); } @GwtIncompatible public void testMin_noArgs() { assertThrows(IllegalArgumentException.class, () -> min()); } public void testMin() { assertThat(min(LEAST)).isEqualTo(LEAST); assertThat(min(GREATEST)).isEqualTo(GREATEST); assertThat(min(8.0, 6.0, 7.0, 5.0, 3.0, 0.0, 9.0)).isEqualTo(0.0); assertThat(min(-0.0, 0.0)).isEqualTo(-0.0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceTest.java
@Test @DisplayName("getName should handle directory names with trailing slash") void testGetName_DirectoryWithSlash() throws CIFSException { // Given String expectedName = "testdir/"; when(mockResource.getName()).thenReturn(expectedName); // When String name = mockResource.getName(); // Then
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 35K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/IntsTest.java
.isEqualTo((int) 9); } @GwtIncompatible public void testMin_noArgs() { assertThrows(IllegalArgumentException.class, () -> min()); } public void testMin() { assertThat(min(LEAST)).isEqualTo(LEAST); assertThat(min(GREATEST)).isEqualTo(GREATEST); assertThat(min((int) 8, (int) 6, (int) 7, (int) 5, (int) 3, (int) 0, (int) 9)) .isEqualTo((int) 0); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/IntMathTest.java
for (RoundingMode mode : ALL_ROUNDING_MODES) { assertThrows(ArithmeticException.class, () -> IntMath.divide(p, 0, mode)); } } } public void testMod() { for (int x : ALL_INTEGER_CANDIDATES) { for (int m : POSITIVE_INTEGER_CANDIDATES) { assertEquals(valueOf(x).mod(valueOf(m)).intValue(), IntMath.mod(x, m)); } } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 24.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
private final List<Member> ignoredMembers = new ArrayList<>(); private ExceptionTypePolicy policy = ExceptionTypePolicy.NPE_OR_UOE; /* * Requiring desugaring for guava-*testlib* is likely safe, at least for the reflection-based * NullPointerTester. But if you are a user who is reading this because this change caused you * trouble, please let us know: https://github.com/google/guava/issues/new */
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/IterablesTest.java
} // The Maps returned by Maps.filterEntries(), Maps.filterKeys(), and // Maps.filterValues() are not tested with removeIf() since Maps are not // Iterable. Those returned by Iterators.filter() and Iterables.filter() // are not tested because they are unmodifiable. public void testConsumingIterable() { // Test data List<String> list = new ArrayList<>(asList("a", "b"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 46.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/IterablesTest.java
} // The Maps returned by Maps.filterEntries(), Maps.filterKeys(), and // Maps.filterValues() are not tested with removeIf() since Maps are not // Iterable. Those returned by Iterators.filter() and Iterables.filter() // are not tested because they are unmodifiable. public void testConsumingIterable() { // Test data List<String> list = new ArrayList<>(asList("a", "b"));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 45.2K bytes - Viewed (0)