- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 58 for isNotEqualTo (0.08 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
Executor sequential1 = newSequentialExecutor(delegate); Executor sequential2 = newSequentialExecutor(delegate); assertThat(sequential1.toString()).contains("theDelegate"); assertThat(sequential1.toString()).isNotEqualTo(sequential2.toString()); final String[] whileRunningToString = new String[1]; sequential1.execute( new Runnable() { @Override public void run() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java
assertThat(immutableValueGraph).isNotInstanceOf(MutableValueGraph.class); assertThat(immutableValueGraph).isEqualTo(mutableValueGraph); mutableValueGraph.addNode("B"); assertThat(immutableValueGraph).isNotEqualTo(mutableValueGraph); } @Test public void copyOfImmutableValueGraph_optimized() { ValueGraph<String, Integer> graph1 = ImmutableValueGraph.copyOf(ValueGraphBuilder.directed().<String, Integer>build());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Jan 09 20:24:43 UTC 2020 - 6.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java
assertThat(comparator.compare(left, right)).isEqualTo(0); int i = rnd.nextInt(left.length); left[i] ^= (byte) (1 + rnd.nextInt(255)); assertThat(comparator.compare(left, right)).isNotEqualTo(0); assertThat(UnsignedBytes.compare(left[i], right[i]) > 0) .isEqualTo(comparator.compare(left, right) > 0); } } } public void testSort() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 19:07:49 UTC 2024 - 13.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/ResourcesTest.java
public void testToString() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt"); assertEquals(I18N, Resources.toString(resource, UTF_8)); assertThat(Resources.toString(resource, US_ASCII)).isNotEqualTo(I18N); } public void testToByteArray() throws IOException { URL resource = getClass().getResource("testdata/i18n.txt"); assertThat(Resources.toByteArray(resource)).isEqualTo(I18N.getBytes(UTF_8)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
Executor sequential1 = newSequentialExecutor(delegate); Executor sequential2 = newSequentialExecutor(delegate); assertThat(sequential1.toString()).contains("theDelegate"); assertThat(sequential1.toString()).isNotEqualTo(sequential2.toString()); final String[] whileRunningToString = new String[1]; sequential1.execute( new Runnable() { @Override public void run() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 11.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java
assertEquals(c, ImmutableSortedMultiset.of("a", "b", "a")); assertEquals(c, ImmutableSortedMultiset.of("a", "a", "b")); assertThat(c).isNotEqualTo(ImmutableSortedMultiset.of("a", "b")); assertThat(c).isNotEqualTo(ImmutableSortedMultiset.of("a", "b", "c", "d")); } public void testIterationOrder() { Collection<String> c = ImmutableSortedMultiset.of("a", "b", "a");
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/FilesTest.java
File i18nFile = getTestFile("i18n.txt"); assertEquals(ASCII, Files.toString(asciiFile, US_ASCII)); assertEquals(I18N, Files.toString(i18nFile, UTF_8)); assertThat(Files.toString(i18nFile, US_ASCII)).isNotEqualTo(I18N); } public void testWriteString() throws IOException { File temp = createTempFile(); Files.write(I18N, temp, UTF_16LE); assertEquals(I18N, Files.toString(temp, UTF_16LE)); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 22.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
assertThat(dim1 * dim2).isAtLeast(0); testConcatOverflow(dim1, dim2); } private static void testConcatOverflow(int arraysDim1, int arraysDim2) { assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2)); byte[][] arrays = new byte[arraysDim1][]; // it's shared to avoid using too much memory in tests byte[] sharedArray = new byte[arraysDim2];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java
poller.join(); } public void testToString_allUnique() throws Exception { // Two futures should not have the same toString, to avoid people asserting on it assertThat(SettableFuture.create().toString()).isNotEqualTo(SettableFuture.create().toString()); } public void testToString_oom() throws Exception { SettableFuture<Object> future = SettableFuture.create(); future.set( new Object() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 22:10:29 UTC 2024 - 47.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/BytesTest.java
assertThat(dim1 * dim2).isAtLeast(0); testConcatOverflow(dim1, dim2); } private static void testConcatOverflow(int arraysDim1, int arraysDim2) { assertThat((long) arraysDim1 * arraysDim2).isNotEqualTo((long) (arraysDim1 * arraysDim2)); byte[][] arrays = new byte[arraysDim1][]; // it's shared to avoid using too much memory in tests byte[] sharedArray = new byte[arraysDim2];
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 17.3K bytes - Viewed (0)