Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for testTryParseFailures (0.08 sec)

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

        "infinity",
        "POSITIVE_INFINITY",
        "0x9A",
        "0x9A.bE-5",
        ".",
        ".e5",
        "NaNd",
        "InfinityF"
      };
    
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseFailures() {
        for (String badInput : BAD_TRY_PARSE_INPUTS) {
          assertThat(badInput)
              .doesNotMatch(
                  Pattern.compile(
                      Doubles.FLOATING_POINT_PATTERN.pattern(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        "infinity",
        "POSITIVE_INFINITY",
        "0x9A",
        "0x9A.bE-5",
        ".",
        ".e5",
        "NaNd",
        "InfinityF"
      };
    
      @GwtIncompatible // Floats.tryParse
      public void testTryParseFailures() {
        for (String badInput : BAD_TRY_PARSE_INPUTS) {
          assertThat(Floats.tryParse(badInput)).isEqualTo(referenceTryParse(badInput));
          assertThat(Floats.tryParse(badInput)).isNull();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/DoublesTest.java

        "infinity",
        "POSITIVE_INFINITY",
        "0x9A",
        "0x9A.bE-5",
        ".",
        ".e5",
        "NaNd",
        "InfinityF"
      };
    
      @GwtIncompatible // Doubles.tryParse
      public void testTryParseFailures() {
        for (String badInput : BAD_TRY_PARSE_INPUTS) {
          assertThat(badInput)
              .doesNotMatch(
                  Pattern.compile(
                      Doubles.FLOATING_POINT_PATTERN.pattern(),
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/FloatsTest.java

        "infinity",
        "POSITIVE_INFINITY",
        "0x9A",
        "0x9A.bE-5",
        ".",
        ".e5",
        "NaNd",
        "InfinityF"
      };
    
      @GwtIncompatible // Floats.tryParse
      public void testTryParseFailures() {
        for (String badInput : BAD_TRY_PARSE_INPUTS) {
          assertThat(Floats.tryParse(badInput)).isEqualTo(referenceTryParse(badInput));
          assertThat(Floats.tryParse(badInput)).isNull();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top