- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 12 for TestEqual (0.07 seconds)
-
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NewestConflictResolverTest.java
assertResolveConflict(a2n, a2n, a1n); } /** * Tests that <code>a:2.0</code> wins in the scenario: * <pre> * a:1.0 * a:2.0 * </pre> */ @Test void testEqual() { ResolutionNode a1n = createResolutionNode(a1); ResolutionNode a2n = createResolutionNode(a2); assertResolveConflict(a2n, a1n, a2n); } /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/ObjectsTest.java
"EqualsInteger", // test of a trivial call "EqualsLong", // b/273939864 "EqualsDouble", // b/273939864 "EqualsFloat", // b/273939864 "YodaCondition", // test of reversed call }) public void testEqual() throws Exception { assertTrue(Objects.equal(1, 1)); assertTrue(Objects.equal(null, null)); // test distinct string objects String s1 = "foobar"; String s2 = new String(s1);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2.6K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/FarthestConflictResolverTest.java
assertResolveConflict(a2n, a2n, a1n); } /** * Tests that <code>a:1.0</code> wins in the scenario: * <pre> * a:1.0 * a:2.0 * </pre> */ @Test void testEqual() { ResolutionNode a1n = createResolutionNode(a1); ResolutionNode a2n = createResolutionNode(a2); assertResolveConflict(a1n, a1n, a2n); } /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolverTest.java
assertResolveConflict(a1n, a2n, a1n); } /** * Tests that <code>a:1.0</code> wins in the scenario: * <pre> * a:1.0 * a:2.0 * </pre> */ @Test void testEqual() { ResolutionNode a1n = createResolutionNode(a1); ResolutionNode a2n = createResolutionNode(a2); assertResolveConflict(a1n, a1n, a2n); } /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.8K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/repository/legacy/resolver/conflict/OldestConflictResolverTest.java
assertResolveConflict(a1n, a2n, a1n); } /** * Tests that <code>a:1.0</code> wins in the scenario: * <pre> * a:1.0 * a:2.0 * </pre> */ @Test void testEqual() { ResolutionNode a1n = createResolutionNode(a1); ResolutionNode a2n = createResolutionNode(a2); assertResolveConflict(a1n, a1n, a2n); } /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.8K bytes - Click Count (0) -
internal/etag/etag_test.go
{A: "3b83ef96387f14655fc854ddc3c6bd57", B: "3b83ef96387f14655fc854ddc3c6bd57-2", Equal: false}, // 2 {A: "3b83ef96387f14655fc854ddc3c6bd57", B: "ceb8853ddc5086cc4ab9e149f8f09c88", Equal: false}, // 3 } func TestEqual(t *testing.T) { for i, test := range equalTests { A, err := Parse(test.A) if err != nil { t.Fatalf("Test %d: %v", i, err) } B, err := Parse(test.B) if err != nil {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Apr 09 14:28:39 GMT 2025 - 12.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/FilesTest.java
File temp2 = createTempFile(); Files.write(ASCII, temp2, UTF_8); Files.copy(temp1, temp2); assertThat(Files.toString(temp2, UTF_8)).isEqualTo(ASCII); } public void testEqual() throws IOException { File asciiFile = getTestFile("ascii.txt"); File i18nFile = getTestFile("i18n.txt"); assertFalse(Files.equal(asciiFile, i18nFile)); assertTrue(Files.equal(asciiFile, asciiFile));
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 19 18:53:45 GMT 2026 - 22.8K bytes - Click Count (0) -
guava-tests/test/com/google/common/io/MoreFilesTest.java
ByteSource source = MoreFiles.asByteSource(link, NOFOLLOW_LINKS); assertThat(source.sizeIfKnown()).isAbsent(); assertThrows(IOException.class, source::size); } } public void testEqual() throws IOException { try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) { Path fooPath = fs.getPath("foo"); Path barPath = fs.getPath("bar");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 27.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/MoreFilesTest.java
ByteSource source = MoreFiles.asByteSource(link, NOFOLLOW_LINKS); assertThat(source.sizeIfKnown()).isAbsent(); assertThrows(IOException.class, source::size); } } public void testEqual() throws IOException { try (FileSystem fs = Jimfs.newFileSystem(Configuration.unix())) { Path fooPath = fs.getPath("foo"); Path barPath = fs.getPath("bar");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 19:26:39 GMT 2026 - 26.6K bytes - Click Count (0) -
src/bytes/bytes_test.go
// slices before invoking the functions. var abcd = "abcd" var faces = "☺☻☹" var commas = "1,2,3,4" var dots = "1....2....3....4" type BinOpTest struct { a string b string i int } func TestEqual(t *testing.T) { // Run the tests and check for allocation at the same time. allocs := testing.AllocsPerRun(10, func() { for _, tt := range compareTests { eql := Equal(tt.a, tt.b) if eql != (tt.i == 0) {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Mar 11 03:07:05 GMT 2026 - 62.9K bytes - Click Count (0)