Search Options

Results per page
Sort
Preferred Languages
Advance

Results 171 - 180 of 275 for isEqualTo (0.07 sec)

  1. android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java

        }
      }
    
      public void testEnsureNonNegative() {
        assertThat(DoubleUtils.ensureNonNegative(0.0)).isEqualTo(0.0);
        for (double positiveValue : POSITIVE_FINITE_DOUBLE_CANDIDATES) {
          assertThat(DoubleUtils.ensureNonNegative(positiveValue)).isEqualTo(positiveValue);
          assertThat(DoubleUtils.ensureNonNegative(-positiveValue)).isEqualTo(0.0);
        }
        assertThat(DoubleUtils.ensureNonNegative(Double.POSITIVE_INFINITY)).isPositiveInfinity();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 18:10:55 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/PairedStatsAccumulatorTest.java

      }
    
      public void testCount() {
        assertThat(emptyAccumulator.count()).isEqualTo(0);
        assertThat(emptyAccumulatorByAddAllEmptyPairedStats.count()).isEqualTo(0);
        assertThat(oneValueAccumulator.count()).isEqualTo(1);
        assertThat(oneValueAccumulatorByAddAllEmptyPairedStats.count()).isEqualTo(1);
        assertThat(twoValuesAccumulator.count()).isEqualTo(2);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

        assertThat(immutableNetwork.asGraph()).isInstanceOf(ImmutableGraph.class);
        assertThat(immutableNetwork).isNotInstanceOf(MutableNetwork.class);
        assertThat(immutableNetwork).isEqualTo(mutableNetwork);
    
        mutableNetwork.addNode("B");
        assertThat(immutableNetwork).isNotEqualTo(mutableNetwork);
      }
    
      @Test
      public void copyOfImmutableNetwork_optimized() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/graph/AbstractGraphTest.java

            assertThat(graph.successors(node)).isEqualTo(graph.adjacentNodes(node));
            assertThat(graph.inDegree(node)).isEqualTo(graph.degree(node));
            assertThat(graph.outDegree(node)).isEqualTo(graph.degree(node));
          }
    
          for (N adjacentNode : sanityCheckSet(graph.adjacentNodes(node))) {
            if (!graph.allowsSelfLoops()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 16.6K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      public void inDegree_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.inDegree(N2)).isEqualTo(1);
        assertThat(network.inDegree(N1)).isEqualTo(1);
      }
    
      @Test
      public void outDegree_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.outDegree(N1)).isEqualTo(1);
        assertThat(network.outDegree(N2)).isEqualTo(1);
      }
    
      @Test
      public void edges_selfLoop() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/graph/AbstractStandardUndirectedNetworkTest.java

      public void inDegree_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.inDegree(N2)).isEqualTo(1);
        assertThat(network.inDegree(N1)).isEqualTo(1);
      }
    
      @Test
      public void outDegree_oneEdge() {
        addEdge(N1, N2, E12);
        assertThat(network.outDegree(N1)).isEqualTo(1);
        assertThat(network.outDegree(N2)).isEqualTo(1);
      }
    
      @Test
      public void edges_selfLoop() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 02 18:21:29 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/ConnectionSpecTest.kt

          assertThat(expected.message)
            .isEqualTo("At least one TLS version is required")
        }
      }
    
      @Test
      fun noCipherSuites() {
        assertFailsWith<IllegalArgumentException> {
          ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
            .cipherSuites(*arrayOf<CipherSuite>())
            .build()
        }.also { expected ->
          assertThat(expected.message)
            .isEqualTo("At least one cipher suite is required")
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/BouncyCastleTest.kt

        assumeNetwork()
    
        val request = Request.Builder().url("https://mozilla.org/robots.txt").build()
    
        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          assertThat(it.handshake!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/graph/ImmutableNetworkTest.java

        assertThat(immutableNetwork.asGraph()).isInstanceOf(ImmutableGraph.class);
        assertThat(immutableNetwork).isNotInstanceOf(MutableNetwork.class);
        assertThat(immutableNetwork).isEqualTo(mutableNetwork);
    
        mutableNetwork.addNode("B");
        assertThat(immutableNetwork).isNotEqualTo(mutableNetwork);
      }
    
      @Test
      public void copyOfImmutableNetwork_optimized() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun May 05 18:02:35 UTC 2019
    - 5.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/PairedStatsTest.java

     */
    public class PairedStatsTest extends TestCase {
    
      public void testCount() {
        assertThat(EMPTY_PAIRED_STATS.count()).isEqualTo(0);
        assertThat(ONE_VALUE_PAIRED_STATS.count()).isEqualTo(1);
        assertThat(TWO_VALUES_PAIRED_STATS.count()).isEqualTo(2);
        assertThat(MANY_VALUES_PAIRED_STATS.count()).isEqualTo(MANY_VALUES_COUNT);
      }
    
      public void testXStats() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 14K bytes
    - Viewed (0)
Back to top