- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for isNotEqualTo (0.08 sec)
-
guava-tests/test/com/google/common/net/InetAddressesTest.java
assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("::1.2.3.4"))) .isNotEqualTo(InetAddresses.forString("1.2.3.4")); // test 6to4 address (should be hashed) assertThat(InetAddresses.getCoercedIPv4Address(InetAddresses.forString("2002:0102:0304::1"))) .isNotEqualTo(InetAddresses.forString("1.2.3.4")); // 2 6to4 addresses differing in the embedded IPv4 address should
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 24 16:44:05 UTC 2024 - 35.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNotEqualTo import java.util.Arrays import javax.net.ssl.SSLPeerUnverifiedException import kotlin.test.assertFailsWith import okhttp3.CertificatePinner.Companion.pin import okhttp3.CertificatePinner.Companion.sha1Hash
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
for (long a : UNSIGNED_INTS) { for (long b : UNSIGNED_INTS) { try { assertThat(UnsignedInts.divide((int) a, (int) b)).isEqualTo((int) (a / b)); assertThat(b).isNotEqualTo(0); } catch (ArithmeticException e) { assertThat(b).isEqualTo(0); } } } } public void testRemainder() { for (long a : UNSIGNED_INTS) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 12.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CookieTest.kt
assertThat(cookieB).isEqualTo(cookieA) } else { assertThat(cookieB.hashCode()).isNotEqualTo(cookieA.hashCode().toLong()) assertThat(cookieB).isNotEqualTo(cookieA) } } assertThat(cookieA).isNotEqualTo(null) } } @Throws(ParseException::class) private fun date(s: String): Date {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 24.3K bytes - Viewed (0) -
android/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) -
mockwebserver-deprecated/src/test/java/okhttp3/mockwebserver/MockWebServerTest.kt
import assertk.assertions.isBetween import assertk.assertions.isCloseTo import assertk.assertions.isEqualTo import assertk.assertions.isGreaterThan import assertk.assertions.isGreaterThanOrEqualTo import assertk.assertions.isNotEqualTo import assertk.assertions.isNotNull import assertk.assertions.isNull import assertk.assertions.isTrue import java.io.BufferedReader import java.io.Closeable import java.io.IOException
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 21.9K bytes - Viewed (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
import assertk.assertions.isBetween import assertk.assertions.isCloseTo import assertk.assertions.isEqualTo import assertk.assertions.isGreaterThan import assertk.assertions.isGreaterThanOrEqualTo import assertk.assertions.isNotEqualTo import assertk.assertions.isNotNull import assertk.assertions.isNull import java.io.BufferedReader import java.io.Closeable import java.io.IOException import java.io.InputStreamReader
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 23.5K bytes - Viewed (0) -
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/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/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)