Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 44 for testMax (0.09 sec)

  1. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      @GwtIncompatible
      public void testMax_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> max());
      }
    
      public void testMax() {
        assertThat(max(GREATEST)).isEqualTo(GREATEST);
        assertThat(max(LEAST)).isEqualTo(LEAST);
        assertThat(max(8.0f, 6.0f, 7.0f, 5.0f, 3.0f, 0.0f, 9.0f)).isEqualTo(9.0f);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/IntsTest.java

            .isEqualTo(3);
      }
    
      @GwtIncompatible
      public void testMax_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> max());
      }
    
      public void testMax() {
        assertThat(max(LEAST)).isEqualTo(LEAST);
        assertThat(max(GREATEST)).isEqualTo(GREATEST);
        assertThat(max((int) 8, (int) 6, (int) 7, (int) 5, (int) 3, (int) 0, (int) 9))
            .isEqualTo((int) 9);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/FloatsTest.java

      }
    
      @GwtIncompatible
      public void testMax_noArgs() {
        assertThrows(IllegalArgumentException.class, () -> max());
      }
    
      public void testMax() {
        assertThat(max(GREATEST)).isEqualTo(GREATEST);
        assertThat(max(LEAST)).isEqualTo(LEAST);
        assertThat(max(8.0f, 6.0f, 7.0f, 5.0f, 3.0f, 0.0f, 9.0f)).isEqualTo(9.0f);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 29.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/beans/impl/FieldDescImplTest.java

            assertThat(hoge.getStaticFieldValue(), is((Object) "hoge"));
        }
    
        /**
         * @throws Exception
         */
        @Test
        public void testAaa() throws Exception {
            final BeanDesc beanDesc = new BeanDescImpl(MyBean.class);
            final FieldDesc aaa = beanDesc.getFieldDesc("aaa");
            assertThat(aaa.getBeanDesc(), is(sameInstance(beanDesc)));
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/NodeStatusResponseTest.java

            src[srcIndex + 52] = 0x20; // hex code matching mockQueryAddress
            src[srcIndex + 53] = 0x04; // flags: active
    
            // MAC address (6 bytes)
            byte[] testMac = { 0x00, 0x11, 0x22, 0x33, 0x44, 0x55 };
            System.arraycopy(testMac, 0, src, srcIndex + 55, 6);
    
            // Statistics (6 bytes)
            byte[] stats = { 0x00, 0x01, 0x02, 0x03, 0x04, 0x05 };
            System.arraycopy(stats, 0, src, srcIndex + 61, 6);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/SynchronizedMapTest.java

      protected <K, V> Map<K, V> create() {
        TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex);
        Map<K, V> outer = Synchronized.map(inner, mutex);
        return outer;
      }
    
      static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable {
        public final Object mutex;
        private final Map<K, V> delegate;
    
        public TestMap(Map<K, V> delegate, Object mutex) {
          checkNotNull(mutex);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Jul 28 19:11:14 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/async-tests.md

    # Testes Assíncronos
    
    Você já viu como testar as suas aplicações **FastAPI** utilizando o `TestClient` que é fornecido. Até agora, você viu apenas como escrever testes síncronos, sem utilizar funções `async`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. docs/pt/docs/advanced/testing-websockets.md

    Você pode usar o mesmo `TestClient` para testar WebSockets.
    
    Para isso, você utiliza o `TestClient` dentro de uma instrução `with`, conectando com o WebSocket:
    
    {* ../../docs_src/app_testing/tutorial002.py hl[27:31] *}
    
    /// note | Nota
    
    Para mais detalhes, confira a documentação do Starlette para <a href="https://www.starlette.io/testclient/#testing-websocket-sessions" class="external-link" target="_blank">testar WebSockets</a>.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 467 bytes
    - Viewed (0)
  9. docs/pt/docs/how-to/testing-database.md

    l/fastapi/" class="external-link" target="_blank">tutorial de como usar SQLModel com FastAPI</a>. ✨
    
    Esse tutorial inclui uma sessão sobre <a href="https://sqlmodel.tiangolo.com/tutorial/fastapi/tests/" class="external-link" target="_blank">testar bases de dados SQL</a>. 😎...
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Oct 18 12:04:04 UTC 2024
    - 547 bytes
    - Viewed (0)
  10. docs/pt/docs/how-to/custom-docs-ui-assets.md

    Swagger UI lidará com isso nos bastidores para você, mas ele precisa desse auxiliar de "redirecionamento".
    
    ///
    
    ### Criar uma *operação de rota* para testar
    
    Agora, para poder testar se tudo funciona, crie uma *operação de rota*:
    
    {* ../../docs_src/custom_docs_ui/tutorial001.py hl[36:38] *}
    
    ### Teste
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Apr 28 18:31:44 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top