Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for testToByteArrayAndFromByteArrayRoundTrip (0.21 sec)

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

                    + "}");
      }
    
      private PairedStats createSingleStats(double x, double y) {
        return createPairedStatsOf(ImmutableList.of(x), ImmutableList.of(y));
      }
    
      public void testToByteArrayAndFromByteArrayRoundTrip() {
        for (PairedStats pairedStats : ALL_PAIRED_STATS) {
          byte[] pairedStatsByteArray = pairedStats.toByteArray();
    
          // Round trip to byte array and back
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 03 21:17:33 UTC 2024
    - 14K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/math/StatsTest.java

        assertThat(Stats.meanOf(Longs.toArray(LONG_MANY_VALUES)))
            .isWithin(ALLOWED_ERROR * LONG_MANY_VALUES_MEAN)
            .of(LONG_MANY_VALUES_MEAN);
      }
    
      public void testToByteArrayAndFromByteArrayRoundTrip() {
        for (Stats stats : ALL_STATS) {
          byte[] statsByteArray = stats.toByteArray();
    
          // Round trip to byte array and back
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
Back to top